Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all 5674 articles
Browse latest View live

NI-Visa Runtime 5.4.0 Fails with error status 1603.

$
0
0

I'm trying to install the NI-Visa runtime 5.4.0 in a Windows 7 embeded PC after some investigation I can see in the windows log the error status after the installation it's 1603.

 

What it's the meaning of this error? did anyone succeed in install the foftware in a similar platform?

 

Thanks and best regards.


ecrase qui change au cour du temps dans un tableau

Agilent E5071C - calibration

VISA and ActiveX conflict

$
0
0

I am trying to create a labview program which controls two different pieces of equipment.  One is a Thorlabs linear stage which is an ActiveX device connected over a USB connection, and the other is a brushless motor controller connected over an RS-232 connection (using VISA).  I have separate programs which work with each device separately.  However, when I try to write a single vi which does both, the program fails.  Sometimes, the connection to the linear stage fails, and I get a message saying that the connection to the USB connection has been lost.  Sometimes, the program freezes and I have to restart Labview.  Could the two different connections be interfering with each other?  If that is a possibility, is there any way to check to confirm or rule out that possibility?  And if so, is there a way to keep them from interfering with each other.  The two devices are from different companies, so I'm not likely to get any help from either of them.

 

Thanks for any help anyone can provide.

 

BF

NI-488.2 driver download - doesn't download

$
0
0

Upgraded to Windows 7.  Need Windows 7 compatible NI-488.2 driver.  Download links on http://www.ni.com/download/ni-488.2-3.1.2/4360/en/ do not seem to work.  The NI downloader times out.  The FTP link has no apparent response.  Is NI.com broken?  More to the point, where else can I get the 3.1.2 Windows 7 compatible driver?   Is there another solution - other than changing the operating system?

Unrecognized PXI-8232 GPIB/ENET card

$
0
0

Hello

 

I recently installed a PXI-8232 card into my PXI-1036 RT Chassis. MAX is not recognizing the card was there. I installed NI-488.2 RT 3.1.2 onto the RT chassis but still no luck with recognition. MAX does find something called PXI-GPIB "GPIB0" under "Devices and Interfaces" but when I click on that, everything that could possibly help ("Scan For Instruments", "Interactive Control", "GPIB Analyzer", even the NI-488.2 Troubleshooting utility from the right-click menu) is grayed-out.  The card is in slot 3, but as evidenced in the second image, MAX doesn't see it. Any suggestions?

 

Thank you!

Zack

GPIB problems.PNG

 

GPIB problems 2.PNG

NI6343 resistor measurement

$
0
0

May NI6343 board measure  the resistor(about 10KOhm )  ?

 

Is there a channel which can measure the resistor absolutly and directly ?

 

Or I should use a AO channel to provide a stable voltage, then use a stable(with temperature) resistor to connect with the resistor  to be measured, and another AI channel to get the voltage ?

 

If it's able,  how?

 

And what's the precision?

 

 

Thank you

NI-845x I2C Run Script.vi got error -30742. I cannot write or read

$
0
0

Hi All,

 

I am using Labview 8.5 and Ni-8451.

I got the error coded -30742 during writing data into MCU.
It works in Cypress IIC, but using Ni-8451 it won't work.
Please help me with... Why I got this error? Any idea?

Best Thanks.


Jessie


can communicate with device in max but not in a labview program

$
0
0

Hi, I am trying to communicate with an acton monochromator 300i. 

 

When I use VISA, I can communicate just fine. When I try to use either of the labview examples (GPIB-VISA and GPIB-Labview) as well as my own program, I cannot, and I get a timeout error.

 

I have read a page about this kind of problem here: http://digital.ni.com/public.nsf/allkb/6217D314252A51168625693F004FD873

 

It says, I should change the address of my device to 0.  (the default adress of my device is 11) .However I can only set the address of my device between 1 and 30, so this solution does not work for me.

 

I have tried using the property nodes to chand the termination charater settings, I have tried the commands with and without termination character (which is \r in this case), I have tried putting a delay between the write and read, I have tried reducing the "bytes to read" and  nothing has worked

 

Here is what the error says: 

Error -1073807195 occurred at VISA Open in GPIB-VISA_modif.vi

Possible reason(s):

VISA: (Hex 0xBFFF00A5) The interface type is valid, but the specified interface number is not configured.

 

 

Any help is appreciated.

 

 

 

 

 

Use NAT72010 chip as listener and Speaker send Length data Error

$
0
0

Use NAT72010 chip as listener and Speaker, the initialization program for XBYTE commands oepration with 51 SCM as below:
XBYTE[reg5]=0x02; //Chip reset
XBYTE[reg3]=0x99; //Set 7210 mode
XBYTE[reg5]=0x50; //page in
XBYTE[reg3]=0x81; //ICR2,Enable MICR bit, to set chip clock
XBYTE[reg5]=0x02; /set clock 2M
XBYTE[reg5]=0x9c; //Clear PAGE IN
XBYTE[reg1]=0x13; //Open DJ to receive interruption
XBYTE[reg0]=0x00;
XBYTE[reg3]=0xaa; //Auto response the serial inquire
XBYTE[reg4]=0x31; //ADMR, double address mode
gpddr=0x0f;              //Address is 15
XBYTE[reg6]=gpddr;
XBYTE[reg6]=0xe0;
XBYTE[reg7]=0x0a;
XBYTE[reg5]=0xac;
XBYTE[reg5]=0xe8;
XBYTE[reg5]=0x88;
XBYTE[reg5]=0;


To process by inquire mode. When detect that the falling edge of NAT7210 chip INT leg enter into the receive processing, after receiving to check whether return data according to commands, the return program is as below:
for(i=0;i<10000;i++)
{
tem88=XBYTE[reg1];
while((tem88&0x02)!=0x02)
tem88=XBYTE[reg1];
XBYTE[reg0]=pdtem[i%10];
}

tem88=XBYTE[reg1];
while((tem88&0x02)!=0x02)
tem88=XBYTE[reg1];
XBYTE[reg0]=0x2c;

tem88=XBYTE[reg1];
while((tem88&0x02)!=0x02)
tem88=XBYTE[reg1];
XBYTE[reg5]=0x06; //Send EDI before the last byte
XBYTE[reg0]=0x0a; //Send stop character


Received data as above progrm is not full, only 9992 characters, which should be 10002 characters, the character strings should be 01234567890123456789...... that from 0 to 9 as one group, totally 1000 groups.

But the 1011th group is 012356789, the 2031th group is 012345678, the 3041th group is 012356789, the 4061th group is 012345678, which lost 4 and 9 every 1010 groups and 1020 groups by turns regular.

Could you help me to find the problem? Or tell me the right processed method, or show me the initialization and receive program? Thank you very much!

code stopped working once in sequence

$
0
0

We are controlling a LabSmith HV power supply in LabView using drivers from the manufacturer. We are trying to make injections by alternating between a floating and an applied voltage on channel D. In an earlier design we achieved this using a case structure and elapsed time VIs. However, our previous code was not serial and caused problems. We have transferred the code to a sequence to force serial commands, and in general this is working much better. We are having one problem though. We would like to have the option of manually injecting (by floating the voltage on Channel D) or having these injections occur with a regular period. Both methods worked in our earlier design (v07) using a case structure and elapsed time VIs. The same structure, however, is not working in our new version (v10). The single injection, when the upper case structure in the last frame is true, works great. However, when this is false, the program appears to execute the false case of the lower left case structure almost all the time, and only very briefly and regularly flips to the true command. We aren't sure why this code, which worked in our last version, does not work now, and we would be very grateful for feedback. Thank you!

 

 

GPIB - when I use wait with a timeout of 1sec, the wait function doesn't return after 1sec

$
0
0

I use the following code:

 

gpibDevice.Wait(GpibStatusFlags.DeviceServiceRequest | GpibStatusFlags.Timeout);

 

I want to wait for ether a DeviceServiceRequest or a Timeout. When I use a Timout of 1sec

the wait function doesn't return after 1sec. Can someone help me, why the timeout is not effective here???????? 

COM-Ports of PCIe-Card do not work

$
0
0

Hello everyone,

 

I need two COM-Ports (RS232) for one of my applications. Thus, I want to use a PCIe extension card (which provides two additional serial ports besides the internal port:

http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=120;74;110&PLine=74

 

 

My problem is that I cannot use these additional ports in Labview. They are displayed but nothing can be sent or received. I checked a device at the interal port and it works without any problems but with the additional ports it does not work. I have the same problem with the VISA test panel in MAX.

I checked the functionality of the additional ports using my test device and a serial port monitor and this seems to work without any problems.

 

Does anybody have an idea why labview does not work with the serial ports provided by PCIe card?

 

Thank you very much and best regards,

Johannes

Problem with mbSession.Dispose()

$
0
0

When I exit my application, the call to dispose a message base session hung (mbSession.Dispose())

 

Can anyone help me with this problem?

Thank you,

David

485 4 wire to 2 wire connection with PCIe 8431

$
0
0

    I am trying to connect to a watlow temperature controller with my PCIe 8431.  When I wired up the cable I shorted Tx+ to Rx+ (p 4,8) and Tx- to Rx- (P5,9) to connect to the controller.  I assume this is converting from 4 wire to 2 wire but, when you look at the "loop back" connections from NI this is exactly what they tell you to do.  I ask since I am uncertain and I am not able to establish communication with the controller.


ni usb 9213 could not be found by signalexpress

$
0
0

I have a NI USB-9213 for thermocouple temperature input. But the signal express just could not find it, (no devices available). But the NI MAX could find the device. The only error is when I open the VISA test panel and view the attributes, the interrupt in pipe status has invaid property value  (Hex 0x3FFF0082).

Does anyone know how to solve this problem?  I am just a beginner.

Thanks.

interfacing fresenius vial syringe pump with rs 232

$
0
0

I am trying to read data from fresenius vial pilot C syringe pump. Getting following error in read operation:

"Timeout expired before operation completed". I have checked the baud rate, parity etc and also the rs 232 cable. Where can be the problem?

error 1073807302 while connecting a third party USB device,and showing invalid setup

$
0
0

While connecting a third party USB device,In NI MAX it is showing error 1073807302,Unable to start operation because setup is invalid,and error 1073807246 Object Reference is Uninitialized,in the USB settings Tab it is showing no pipe present in Bulk in pipe and in VIEW ATTRIBUTE Tab it is showing invalid property....

please kindly reply me.....!!!

485 modbus communication with Watlow PM trouble

$
0
0

I have a Watlow PM that I can see over MAX now and using the EZ zone code can get manufacture info from.  I also am using (for the first time) the add-on Modbus over serial tool from Saphire to try to write or read anything from it and I always get a "time out" error from the slave.  I tried to do a simple VISA read as I found on some posts and I get the same time out error.  It seems if I try anything from Labview I get this error.  I even tried writing Hex to the thing with the same results.  Can someone throw me a bone?

Read SN from GPIB-USB-HS

$
0
0

Hi, I have a program running in several machines and it uses the GPIB-USB-HS controller. There has been strange failures in some of them, so I have a suspicion the controller could be the culprit. And for that reason I would like to write SN in the log file to be able to track to a particular controller.

Using pyvisa on Mac

Thanks

Viewing all 5674 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>