LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what are the instruments driver should be used to make measurement with agilent HP8753E

Hello,
I'm doing a user interface with labview 8.5 to make measurement using a frequency analyzer agilent HP 8753E, so I must make successive measurements of cables, each time I made ​​the tests of the cable and then all the other now, my question is what are the drivers of istrument to use these to measure and how should I do and thank you very much

0 Kudos
Message 1 of 4
(2,528 Views)

Hello,

 

While we do have many common third-party Instrument Drivers available for download at http://www.ni.com/downloads/idnet/ , it looks like we don't have one for this particular analyzer.  There are a couple options here.

 

One option is to request to our NI team to create one.  This is a process that generally take a few weeks at least.  For details on how this process works, see https://sine.ni.com/apps/utf8/niid_web_display.request_driver and keep me posted if you have any issues with that.

 

The other option is to use the NI-VISA drivers, which are the more general serial commands through LabVIEW.  The version you want for LV8.5, according to the Compatibility matrix, is available through our drivers database: NI-VISA 5.0.3. With NI-VISA, you will need to know the exact serial messages to read and write data from the analyzer, so be sure to refer to the documentation for that device.

 

Best,

Ryan C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,506 Views)

hello,
thanks a lot Mr , i will try using ni visa , i have an example in HP Basic i have many difficult to convert it toi Labview can you help me to do that ?
90 ! EXAMP6E
100 !
110 ASSIGN @Nwa TO 716 ! Assign an I/O path for the analyzer
120 !
130 CLEAR SCREEN
140 ! Initialize the analyzer No preset to retain settings for testing
150 ABORT 7 ! Generate an IFC (Interface Clear)
160 CLEAR @Nwa ! SDC (Selected Device Clear)
170 !
180 INPUT “Number of consecutive passed sweeps for qualification?”,Qual
190 Pass=0 ! Initialize pass counter on entry
200 !
210 Tune: DISP “TUNE DEVICE AS NECESSARY” ! Device is not passing warning
220 !
230 Measure:OUTPUT @Nwa;”OPC?;SING;” ! Single sweep and wait
240 ENTER @Nwa;Reply ! Read the 1 when completed
250 !
260 OUTPUT @Nwa;”ESB?;” ! Event status register B byte
270 ENTER @Nwa;Estat ! Reading byte clears the register
280 !
290 IF BIT(Estat,4) THEN ! Bit 4 is failed limit on channel 1
300 IF Pass>0 THEN BEEP 1200,.05 ! passed before? Now not passing beep
310 Pass=0 ! Reset pass to 0
320 GOTO Tune ! Adjust and measure again
330 END IF
340 !
350 BEEP 2500,.01 ! Limit test passed passing beep
360 Pass=Pass+1 ! Increment number of passes
370 DISP “LEAVE DEVICE ALONE” ! Warn not to adjust as it passed
Chapter 7 7-101
Programming Examples
List-Frequency and Limit-Test Table Examples
380 !
390 IF Pass<Qual THEN GOTO Measure ! If not enough passes to qualify
400 !
410 ! Device passed
420 DISP “DEVICE PASSED!” ! Number of passes enough to qualify
430 FOR I=1 TO 10 ! Announce the device passed and
440 BEEP 1000,.05 ! prompt operator to connect new
450 BEEP 2000,.01 ! device to test.
460 NEXT I
470 !
480 INPUT “PRESS RETURN FOR NEXT DEVICE”,Dum$
490 Pass=0 ! Initialize pass counter
500 GOTO Measure ! Begin measurement
510 !
520 END

0 Kudos
Message 3 of 4
(2,479 Views)

Hi again,

 

Good to hear that you have VISA up and running.  VISA is extremely basic; you use VISA Open and VISA Close to open and close serial connections with the device, and VISA Read and VISA Write to read and write the actual serial messages with the device.  You will certainly want to check out the documentation for the frequency analyzer for the syntax on the serial commands.

 

You will want to check out the examples related to VISA in the NI Example Finder.  In LabVIEW, go to Help > Find Examples…, then in the example finder browse to Hardware Input and Output > VISA.  A good one here to start with is the GPIB-VISA.vi example, which goes through the basic format of Open-Write-Read-Close, as described above.

 

Hope this helps!  Best,

Ryan C.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,453 Views)