LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

settablecellrangevals argument to small

 
Luis,
 
you posted the following responcse to this issue earlier:
Attachment forum.c (2 kb)
Attachment forum.uir (13 kb)
 
I decided to try and load it as Columns instead of rows.
 
I am now getting an error "Argument to small".
 
 SetTableCellRangeVals (run_table_panel, RUNDATA_TABLE, MakeRect (1, 9, 3, 1), &ulog_icard_msg_p[0].DIAL, VAL_COLUMN_MAJOR);
 
I defined the pointer as follows:
ulog_icard_msg_p = (struct ULOG_ICARD_MSG *)malloc (sizeof (struct ULOG_ICARD_MSG) * 10);
 
 ulog_icard_msg_p[0].DIAL=1;
 ulog_icard_msg_p[1].DIAL=2.2;
 ulog_icard_msg_p[2].DIAL=3.3;
 
so  believe to load a column 3 rows high shouldn't be aproblem?

 

Fred

0 Kudos
Message 1 of 3
(3,142 Views)

Luis,

 

your code is giving the same error?

 

Fred

0 Kudos
Message 2 of 3
(3,131 Views)
Addressed this in the other thread:

    http://forums.ni.com/ni/board/message?board.id=180&message.id=21353
0 Kudos
Message 3 of 3
(3,119 Views)