LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with niSwitch / LabView.

Hello Gents
 
I am currently developing a LabView 7.1 (base) and PXI instrumentation based system and are having a few problems with the setup of my NI PXI-2564 16 spst relay card.
 
When I go to run my main VI I get the error message attached below in LabView 1.jpg. I have also attached a couple of screenshots from Measurement and Automation explorer to show how my system is configured.
 
I am guessing that the problem is to do with configuration within MAX. Any help would be appreciated.
 
Regards
 
Mark
Mark Shead
Sonatest Ltd

LabView (7.1) Novice!
Download All
0 Kudos
Message 1 of 6
(3,272 Views)

Hi Bushman,

These errors usually occur when you address the instrument with a PXI resource descriptor [ex. PXI1::15::INSTR] instead of a DAQ resource descriptor [ex. DAQ::1::INSTR for Traditional DAQ, Dev1 or PXI1Slot1 for DAQmx]. Since the NI Switch drivers use NI-DAQ to detect and communicate to the boards, you must use the DAQ descriptor to open a session to them with these drivers.

See KB 33A96PCW (linked below) for a detailed description of a DAQ resource descriptor.

http://digital.ni.com/public.nsf/websearch/22CF7E6B27B6995B86256DDB0058F39B?OpenDocument

Hope this helps

AdamB

Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 2 of 6
(3,258 Views)

Put simply:

Try using the descriptor "Switchcard" format for the resource descriptor rather than "PXI2::13::INSTR".

Thanx

AdamB

Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 3 of 6
(3,251 Views)
Using PXI2::13::INSTR would have worked for some of the older switches
(like the very similar 2565), but, like everyone else has pointed out,
will not work for the 2564.

Regards,

Abhishek


AdamB wrote:
> Put simply:
> Try using the descriptor "Switchcard" format for the resource descriptor rather than "PXI2::13::INSTR".
> Thanx
> AdamB

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

Thanks fellas.

I have sorted the problem out now by using DAQmx to control my PXI-2564 card.

Somewhere along the line I updated NI Device drivers on one system and not the other, hence causing confusion!

Thanks for your help

Mark

Mark Shead
Sonatest Ltd

LabView (7.1) Novice!
0 Kudos
Message 5 of 6
(3,241 Views)
Great news.
 
Thanx for getting back to us.
 
AdamB
Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 6 of 6
(3,236 Views)