Switch Hardware and Software

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Programmable resistance 2720

Solved!
Go to solution

Hello,

 

I am using and programming with PXI-2720. Could I set the resistance value in CVI program?

I put the niswitch.fp in my project.  

Do I need to control all relays for making 30ohm( example value) at my program?

Could you help me if you have any sample codes or references?

 

I have used "272x Reference VIs" for LabView.

I am looking for similar instrument driver for CVI.

 

 

Thank you,

 

Insuk

 

0 Kudos
Message 1 of 5
(6,530 Views)

 

Maybe I need to use the following function:

 

niSwitch_InitWithTopology (, NISWITCH_TOPOLOGY_2720_INDEPENDENT, VI_FALSE, VI_TRUE, );

 

Thank you,

 

Insuk

 

0 Kudos
Message 2 of 5
(6,529 Views)
Solution
Accepted by topic author momo2013

I think I get the way how to calculate.

 

Thank you!

 

 

0 Kudos
Message 3 of 5
(6,522 Views)

Hey Momo,

Certainly let me know if you have any questions.  To answers your initial question, yes, you'll need to manually configure each relay if you're not using LabVIEW, as the native driver works at the relay level.

 

-John Sullivan
Problem Solver
0 Kudos
Message 4 of 5
(6,517 Views)

Hi

 

just see my commends here.

http://forums.ni.com/t5/LabWindows-CVI/ni-272x-modules-on-CVI-program/m-p/2715043/highlight/true#M65...

 

Regards

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 5 of 5
(6,417 Views)