03-11-2012 07:05 AM
Hii,
I want to test a splitter HF having one input and 2 output :
The tester should test signal through 3 state from :
- Input to output 1
- Input to output 2
- Output 1 to output 2
For this reason , we should have 3 switcher : 2 N1810TL and one N1810UL in order to switch the signal from : Input to output 1, Input to output 2, Output 1 to output 2
The information of test from input to output 1 or from input to output 2 or from output1 to output2 should return to tester through a serial cable to inform that it have to go from the present state to the next state. I would like to do this by the NI USB-6501 for data acquisition through serial port DB25.The following picture 1 should make you understand the connection.
The output USB cable of USB-6501 is connected to the PC. I download the USB-6501 interactive control panel and i installed the driver of NI USB-6501 successfully, but I still don’t understand how to use.
The following picture 2 shows on the one hand the connection between USB-6501 and the 3 switchers , and shows on the other hand the connection between USB-6501 and serial port which connected towards the tester that is ordered by a programmable automat.
It is the first time that I will use the USB-6501 and I do not know how to use the USB-6501
I want configured or to program A1, B1, A2, B2, A3,B3 ( Ai and Bi should have value +5V or 0V ) like DI (digital input) and P1.0 P1.1 P1.2, P2.7 like DO to send the data by serial connection towards the part orders of the tester (programmable automat) . Please , Can you help me ?
Thank you in advance
Solved! Go to Solution.
03-11-2012
12:59 PM
- last edited on
06-21-2024
09:24 AM
by
Content Cleaner
What programming language are you going to be using? If it's LabVIEW, there are examples that you can look at. Write Digital Channel and Write Digital Port are both suitable for the 6501. You should also refer to the DAQmx Getting Started Guide.
I don't know what interactive control you could have downloaded. The interactive control is part of MAX (Measurement & Automation Explorer).
p.s. You should not refer to serial ports. The switches have d0sub connectors but that does not make them a serial port connection. It just makes it confusing when you reference them that way.
03-12-2012 10:25 AM
Thanks;
I have downloaded the NI DAQ-max base compatible with Labview 8.5 as I have and installed it in order to be able to communicate with USB-6501 by the human interface "USB-6501 interactive control panel". I prefer using the Labview programming language.
I already know that the DB9 of switcher is not a serial port, we just use the Ai and Bi as shown in the precedent picture in order to know the state of switcher (open or close).
But i would like to use the serial port to transport the information to the programmable automat of the tester, the tester then decides to test the splitter from input to output1, or from input to output 2, or from output1 to output2.
In our application we will use only pins 3, 4, 5, 6 and 13 for the DB25 connected to the SWITCHER:
- port 3: indicate the " reception of data "
- port 4: indicate the " request for authorization to emit "
- port 5: indicate " the authorization to be emitted "
- port 6: indicate " Ready to receive "
- port 13: connected to the GND of USB-6501
Each one of these pins are connected to a pin of DIO which is configured like digital output, the wiring of the pines is given below:
- port 3 is connected to the pin P1.2
- port 4 is connected to the pin P1.1
- port 5 is connected to the pin P1.0
- port 6 is connected to the pin P2.7
- port 13 is connected to pin GND
I would be grateful if you can help me by the programming with Labview as I have been pressed by the time and I am a beginning in Labview.
Thank you in advance
03-12-2012 10:39 AM
Attaching the same pdf file is just a waste of bandwidth.
First, why are you using DAQmx base? Are you using a Mac? If so, I don't know where the examples for DAQmx base are but you should be able to find something similar to what I mentioned. Digital I/O with the 6501 is very straightforward since it is static. You do a simple DAQmx Write or Read. Unforunately, the DAQ Assistant is not available with DAQmx base.
This forum is not a place to get the program written for you. Please make an attempt and post back with what you have tried and details on what is not working.
You say that you know that it is not a serial port but still you make reference to "use the serial port to transport the information". You also refer to a DB25 but there is not a DB25 shown in any of your images.