Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting voltage out on OpenSuse 11.1 for DAQ 6010

I also posted this question on the DAQ forums:

http://forums.ni.com/ni/board/message?board.id=250&thread.id=56035

I have been speaking with support, but folks on this forum may be better able to

answer my question.

I am using an NI 6010 multifunction DAQ and am unable to set the output voltage.

My platform is OpenSuse 11.1, with nikal 110 and daqmx801f.  Everything compiles etc,

and I am able to read voltages appropriately using the direct C interface.

I attempted to set the output voltage via:

...

DAQmxCreateAOVoltageChan(taskHandle,"Dev1/ao0","",-5.0,5.0,DAQmx_Val_Volts,"")

...

DAQmxWriteAnalogF64(taskHandle,1,1,10.0,DAQmx_Val_GroupByChannel,data,NULL,NULL)

...


But this does not work

I have a volt meter set up on pins 12 and 11 (12 being the ao0+ side and 11 being the ao0- side)

and am reading no output voltage.  This is basically the same code as the NI example  VoltUpdate.c, which

I am using for testing purposes while trying to get to the root of this issue.

Does anyone have any suggestions?

Thanks in advance.

Ps.  I was under the impression that OpenSuse 11.1 was supported, but apparently, I should revert to 11.0, are

other folks running 11.1 with no issues?

0 Kudos
Message 1 of 1
(2,646 Views)