09-04-2013 12:23 PM
I programmatically created channels/tasks. When I use 'Analog 1D Wfm NChan NSamp.vi' to read data I get error -50103.
I think the reason for this is that when the Task is created 2 devices are assigned to it instead of 1. I create voltage channels for SC1Mod6 but the Task lists Dev17 along with SC1Mod6 in the device array. I create thermocouple channels for SC1Mod3 and its Task lists Dev17 along with SC1Mod3 in the device array. Therefore the conflict.
I don't have this issue when I create voltage channels for high speed cards.
I know that the parameters I send never contain Dev17 in the Channel Name. In the PPT file enclosed I show my hardware configuration according to MAX. I've also included pictures of code for 'Setup All Voltage Channels.vi' which creates the voltages channels and tasks and 'Setup All TC Channels.vi' which creates the thermocouple channels. Unfortunately I have not been able to attach the VIs or .png files.
Why is it assigning 2 devices to a task when it should only assign one? How can I prevent this?
09-04-2013 12:25 PM
this VI creates the voltage channels and tasks
09-04-2013 12:27 PM
this VI creates thermocouple channels and tasks
09-04-2013 12:28 PM
for some reason I can't seem to attach anything. Could I emails these files to someone?
09-04-2013 02:47 PM
Try zipping up your VIs and posting the zip file. I'm having trouble posting VIs myself. Haven't ran into an issue with zip files yet.
09-04-2013 02:57 PM
all files previously mentioned in a zip file
09-04-2013 02:58 PM
trying this again
09-04-2013 02:58 PM
not working, any other suggestions?
09-04-2013 04:56 PM
additional information ...
The high speed cards (PXI-6133) reside in a PXI-1045 chassis. Dev17 (PXI-6251) and the SCXI cards (PXI-1102C) reside in a PXI-1052 chassis. Dev17 communicates with the SCXI cards over the backplane of the chassis.
In another configuration I have setup the PXI-6251 in a PXIe-1065 chassis communicating with SCXI cards (PXI-1102C) in a SCXI-1001 chassis via cable.
The code I'm using is the same in both setups. Why does it work in the PXIe-1065 & SCXI-1001 and not with the PXI-1052?
09-04-2013 07:46 PM
trying to attach ZIP file again