DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

I'm trying to synchronize a NI PCMCIA CAN card with a NI9401 in a Compact DAQ system using DASYLab 9

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

0 Kudos
Message 1 of 4
(6,873 Views)

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!

Regards,
Margaret Barrett
National Instruments
Applications Engineer
Digital Multimeters and LCR Meters
0 Kudos
Message 2 of 4
(6,859 Views)

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

 

0 Kudos
Message 3 of 4
(6,838 Views)

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

http://www.ni.com/support

0 Kudos
Message 4 of 4
(6,810 Views)