Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i synchronize the data with PCI6534 in c++

i want to do a very simple appllication,connect the data output line with the input line from NI6534.i want to use the function DIG_Trigger_Config for the synchronization,but i don´t how ?i write the programm with c++.
thank.
0 Kudos
Message 1 of 4
(2,814 Views)
Greetings,

I'm not sure I follow exactly what you want to accomplish. Are you just connecting the two DIO lines together? One output line connects to an input line? If so, what are you trying to synchronize?

Please clarify what it is you want to do and I'll help you get there.

Regards,
Justin Britten

Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,814 Views)
the PCI 6534 was connect to one Hardware device,and after the connection, i have test my programm by i have some mistakes from the transfert of data,and i have the idea to connect the output line to input line of the PCI 6534 and to check if i become correctly the digital IO-data,that i have send but i have it with the same mistakes.for this reason,i think it can be a synchronasation problem.

Regards,
Armand
0 Kudos
Message 3 of 4
(2,814 Views)
Armand,

Okay, so you had one output line from your PCI-6534 connected to an external device. You noticed the data was not correct at your external device, so you looped the output of the 6534 around to an input line to check the data. When looking at the data on the input line of your 6534 you notice the data is still bad. I hope I am correct in interpretting your email.

The easiest method to check your data would be to launch the DIdoubleBufPatternGen653x and DOdoubleBufPatternGen653x examples that ship with the NI-DAQ driver. Start the DI example first. Make the appropriate physical connections (output loops back to input) and you should see the output pattern being read by the input example.

The NI-DAQ shipping examples can b
e found in \Program Files\National Instruments\NI-DAQ\Examples\VisualC.

You may also want to take a look at the handshaking examples. You could use a clock source to control when the read/write occurs.

Regards,
Justin
0 Kudos
Message 4 of 4
(2,814 Views)