ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

strain null function

i m using a 1520 module with a 6024 DAQ acquisition card..
i'm programming under VB 6...
when i use the function SCXI_Starin_Null after making some acquisition with the cwai "tool" i obtain the 10636 error and the null don't take effect...
if i hadn't made any acuisition before it's ok but when it's done i had to rebot my computer to do the null...
is there a things i don't do right???

thanks ..
olivier
0 Kudos
Message 1 of 3
(3,250 Views)
Olivier,

The problem has to do with the fact that you have double-buffering enabled when you call SCXI_Strain_Null. This will cause the -10636 (You cannot start a continuous (double-buffered) operation with a synchronous function call) error. The solution to this problem is to disable double-buffering before calling SCXI_Strain_Null. The function DAQ_DB_Config allows you to disable and enable double-buffered mode.

Good Luck. . .
Spencer S.
0 Kudos
Message 2 of 3
(3,250 Views)
I'm having the same problem, but i can't seen to find this function DAQ_DB_Config you said. Please tell me where to find it.
0 Kudos
Message 3 of 3
(3,250 Views)