|
From: KRIGER J. G. <YA...@SI...> - 2003-01-13 18:53:08
|
Hi,
I have a problem when trying to use v5dwrite() function in C.
I have declare the following:
Numtimes = 10
Numvars = 3 { x, y, z }
etc.
And I have the following data
Time var x y z
1 1 10 10 10
1 2 20 20 20
1 3 30 30 30
1 4 40 40 40
.
.
.
1 n n*10 n*10 n*10
.
.
.
10 n n*10 n*10 n*10
So I have the following code that fails:
...
float data[3] { 10, 10, 10 };
int time = 1;
int var = 1;
v5dwrite( time, var, data ); ---> here I get a segmentation fault
...
Can you help me? Thanks in advance.
Julio
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.434 / Virus Database: 243 - Release Date: 25/12/2002
|