"I currently run LV Rt on a PXI chassis that has a PXI 6030E card installed. I have modified the example vi: "Cont acq to file (binary).vi" that NI provides as a DAQ example , to acquire 6 analog channels. I now want to append digital data to the binary stream and save to disk. I'll be reading in 50 digital lines using the PXI-6508 card.
I'd like to know how I might add the digital data acquisition inside my existing loop, make sure that the digital lines are appended to teh analog data, and if possible, I'd like to use a digital signal coming into te PXI 6508 to trigger data acquisition (rather than jhust running at the 240S/s that i currently run).
I have attached my existing code for the data acquisition.
Basically this code controls the release of a sled chair in which a human subject sits. the subject initiates release of the chair by a joystick, a laser fixation point is turned on and off at various times, and data from the joystick as well as various linear acclerometers is acquired. The data acquistion loop is in frame three of the main sequence. You'll notice that i am using some of the digital lines of the PXI-6030E but want to include many more digital lines by using the 6058
cheers
stu