04-08-2009 02:33 PM
We are trying to synchronize CAN data with data from out Compact DAQ system using Dasylab 9. We are using a NI PCMCIA CAN Card with an PCMCAI/PCI adapter in a Dell Optiplex 755 PC. We can recognize all the hardware in Max and we can control the CAN bus in Dasylab 9. The CAN data is not syncronized when we record a file. We set everythig up per the suggestions of NI Developer Zone article 4207 (Synchronizing NI Compact Dag and CAN measurments for in vehicle data logging). We're not sure how to define the NI9401 counter outputs to get them to work. We get an MAX error on all the HW timed contiuous outputs. Any input on this would be greatly appreciated.
Brian
04-09-2009 05:21 PM
Hello!
Thank you for posting to the NI Forums! Please let me know what CAN card you have as well as what other modules are in the cDAQ chassis. Thanks!
04-13-2009 06:30 AM
Dear Sirs,
Belwo is a description of the hardware and software we are using:
Chassis: NI cDAQ-9172
Slot/Module:
1. NI-9205
2. <empty>
3. NI-9205
4. <empty>
5. NI-9401
6. <Empty>
7. NI-9211
8. NI-9211
CAN Card: NI PCMCIA-CAN/2 Series 2 (Connected using a PCMCIA to PCI adapter)
Dell Optiplex 755 w/ Windows XP Pro SP2
DASYLab 9
We have made the following connections:
PCMCIA CAN Card NI-9401
Trig7_CLK Pin 17
Trig_O Pin 14
GND PIN 13
We'd also set up 2 NI MX tasks which generated continuous pulses from PIN 17 and PIN 14. These
modules were added into the DASYLab Work sheet.
Sometimes the syncronization looks like it is working, Most of the time the CAN Channels are obviously
out of sync.
Thanks in advance for the help.
Brian
04-14-2009 03:27 PM
Since DASYLab lacks support for property nodes in DAQmx this is very likely impossible to accomplish. Consider using LabVIEW as there are built in shipping examples that do exactly what you are trying to set up.
Regards,
Steven Zittrower
Applications Engineer
National Instruments