Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

disable internal pull up resisitors

I'm using an NI USB-6501 24 line digital I/O DAQ. I want to know if there is a software programming way to disable the internal pull up resistors.
I'm trying to design an automated thermostat tester. I'm reading digital data and writing data to the thermostat inputs using  Read Dig Chan.vi and Write Dig Chan.vi. Is there a way I can read and write out of one program instead of running two modules. Like can I combine the two vi's.
I also want to be able to create dialog boxes to instruct the user to follow certain steps.
 
0 Kudos
Message 1 of 5
(3,806 Views)

Hi,

The USB-6501 does not support programmatic disabling of the pull-up resistors. You can combine the read and write funtions in teh same VI as long as you are using different lines. Obviously you cannot read and write simultaneously on the same line. Below is a screen shot of the two example programs combined: 

 

I tested this with a simulated device and was successful.  With regard to the dialog boxes you can create dialog boxes by going to the following pallet. 



For more information on there functionality you can press Ctrl + H which will open context help and hover your mouse over the VI you wish to learn more about.  I hope this helps please post back if you have any further questions.

Message Edited by jaced on 10-31-2007 01:40 PM

JaceD
Signal Sources Product Support Engineer
National Instruments
Download All
Message 2 of 5
(3,790 Views)

Hey,

I tried using this vi. But I'm getting an error.

Measurements: Write failed, because there are no output channels in this task to which data can be written.

Could you tell me, what is it that I'm doing incorrectly?

Also for the dailog boxes, I have to write a set of instructions to be followed by the user. Like step 1: Place the unit into the test fixture, step 2: set slide pot to 70 and so on so forth.

The thing is, when the user has to operate the fixture, I want the dialogs to be instructional. For eg:

"Slide system switch to heat. Press start when ready. Wait for pass or fail beofre proceeding". So when the user does this, I want a start button and also 2 LEDs for pass and fail. How do I design something like this along with teh read-write vi.

Can you help me how? Do you need me to scan a copy of the algorithm for what I'm supposed to do and show you?

0 Kudos
Message 3 of 5
(3,775 Views)
Also I'm reading from P0.1 - 0.4 and writing to P1.0-1.1
0 Kudos
Message 4 of 5
(3,773 Views)

From the error message it sounds like you may have configured your VI incorrectly, I have attached a screen shot of the front panel of my VI which illustrates how you would configure the lines for both input and output.

 Regarding the dialog pop-up boxes I think this question would be best answered on the LabVIEW forums. I hope this helps please post back if you have any further hardware questions

 

Message Edited by jaced on 11-02-2007 09:32 AM

JaceD
Signal Sources Product Support Engineer
National Instruments
0 Kudos
Message 5 of 5
(3,758 Views)