Switch Hardware and Software

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure resistance by using PXI2503

Solved!
Go to solution

Hi Newer104,

 

Haha, my last reply was 1 minute too late.  🙂 

 

I'm glad to hear you got everything working! 

 

Chad Erickson

Switch Product Support Engineer

NI - USA

0 Kudos
Message 11 of 16
(4,425 Views)

Smiley Very HappyThanks Chad again!

 

by the way, is that any way I can measure several resistance at same time and able to monitor the resistance in real time?

0 Kudos
Message 12 of 16
(4,421 Views)

Hi Newer104,

 

Several Resistances at the Same Time 

 

I believe you would require additional measurement devices, as the DMM can make only 1 resistance measurement at a time.  

 

Monitoring Resistance in Real Time

 

If I understand correctly, then at set time intervals you want to a) measure several resistances and b) monitor them as they're measured. 

 

Good news!  You can do this with your present DMM/switch system if the timing requirements are not too tight.  Use the following questions to determine your timing/synchronization requirements.

 

1. What is the time interval? (every minute, every 10 seconds, every second, every millisecond, etc.)

2. How exact does the time interval between measurements have to be? (to the second, millisecond, etc.)

3. How much delay can there be between one resistance measurement and another? (to the millisecond, as exact as possible with a shared backplane trigger, etc.)

 

(2) Note: this can be a confusing question, so I've reworded the question.  "If the time interval is every minute, and my first measurement is at 0 min, do I need to measure my second measurement at 1 min (+/- 1 second), or 1 min (+/- 1 millisecond)?"  The answer to this question typically determines if the program can be run on a Windows OS or if it needs to be run on deterministic real-time OS (RTOS).

 

(3) Note: determines if a DMM/switch system can be used to save cost over a pure DMM system.  If what you need is to measure (and perhaps log/save to disk) resistance measurements and view the most recent resistance results on a user interface, then system options include:

 

a) one or more DMMs/measuring devices for each resistance, and

b) your current setup: one DMM and a switching front-end (to sequentially connect the DMM to each resistance one at a time)

 

(a) provides you with the ability to make several resistance measurements at the same time with hardware triggering

(b) provides you with the ability to make several resistance measurements at nearly the same time with hardware triggering (within milliseconds of one another), and saves you the cost of multiple DMMs 

 

Additional RTOS Information 

 

Read this if you require more determinism than the Windows OS can provide.  Once again, the benefit here is the "exactness" of the set time interval mentioned in (2) above.

 

For monitoring resistance in real time, PXI controllers support a real-time operating system (RTOS).  This enables you to deterministically monitor resistances at a set time interval.  The way it works is you compile and download an application (such as a DMM/Switch VI you create) to a real-time series PXI controller over Ethernet.  This step is actually pretty simple.  In the LabVIEW project, you simply change targets from the development system (such as Windows) to the RT target and then run the VI to deploy the application to the RT machine.  You can write the VI so that the RT target publishes results to the network, so you can remotely monitor the results. 

 

Let me know if you have any trouble with the next step in your application.  Feel free to start a new post, as I frequently monitor all the posts in the Switch Hardware and Software category.

 

Best regards,

 

Chad Erickson

Switch Product Support Engineer

NI - USA

Message Edited by Chad PSE on 12-01-2009 07:00 PM
Message 13 of 16
(4,418 Views)

Hi, I use the niSwitch switch synchronous Scanning to measure a single resistor. however, it wasnt working at this time. I only put a resistor on C0+ and C0- . I input "r0->c0&r0->ab0" into the scan list. there is no error display anywhere, also nothing is graphing on the screen. I did try to use soft front panel to test the switch and the DMM, it seems nothing wrong and I able to measure the right value by using that.  I really dont know what's going on at this time.

Please Help~! Thank you.

 

LabView 8.5/PXI 4072/PXI2503

0 Kudos
Message 14 of 16
(4,382 Views)
Message Edited by Online Courses on 12-15-2009 10:32 AM
0 Kudos
Message 15 of 16
(4,363 Views)

Hi Newer,

      I could be mistaken, but what might be going on is that you're just not seeing your relays close because when downloading a scan list to a switch, it will close those relays without giving you that feedback in software (neither LabVIEW or Soft Front Panel will tell you that a relay is closed when doing switch scanning).  I'd be curious if you see different results when using an example like "niSwitch Making Connections on a Switch.vi" from the NI Example Finder under Hardware I/O»DAQmx»Modular Instruments»NI-Switch.  That example does not download a scan list to the switch, but rather sends the software commands at the time they are called in the program.  Have you tested the connections with a DMM after using the scanning program you had mentioned?  

0 Kudos
Message 16 of 16
(4,360 Views)