Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6343 Device Naming Compared to 6008

My company is considering replacing a number of 6008 with one or more 6343s.  I use NI-DAQmx with C#/.Net .  I have a substantial code base implemented to support the 6008's and I am trying to determine the magnitude of effort to migrate from 6008's to a 6343 . 

 

 

 

1. Should I assume the basic code structure is similar for digital I/O and analog I/O (DAQmx.Task, DigitalSingleChannelWriter, DigitalSingleChannelReader, AnalogSingleChannelWriter) ?

2. How are the digital I/O and analog I/O referenced?  (In C#, the 6008's are referenced by string names "Dev1", "Dev2", et al.  Digital ports are named "Dev1/port0/line0", "Dev1/port0/line1" and so on.

 

Thankyou for your kind attention

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

Hey Tim,

 

The code structure should be identical regardless of the hardware you select, assuming the new hardware is at least as functional as the previous.  For example, if you migrated from a 64-channel device using channel 64 to a device with 8 channels, that channel reference would obviously no longer be valid.  Essentially you want to make sure your port/line/channel references are the valid for the new devices.

 

As far as the device reference, you should just be able to alias your new hardware to the alias of your old hardware ("Dev1", "Dev2", etc.) and the code will reference the new hardware just the same.

 

Best,

National Instruments
0 Kudos
Message 2 of 2
(2,673 Views)