Hp4145a GPIB through LabView write but no read

Hi, using the NI LabView HP4145B driver, I can connect to and write to
my 4145A, however, when I try to read from the device using the HP 4145
Graphics plot.vi it gives me the error: HP 4145 Receive Message.
I have noticed other people have also experienced this, but there seems
to be no known solution besides the stated problem of needing a delay
before reading from the device.
Any help would be appreciated. Thanks.

By doing the following procedure, I have been able to successfully all
of the data in the buffer from the 4145A:
1) press the print button on the 4145A or send the "PR" command
2) read from the device using the LabView communicate with instrument
explorer (sample read/write program).
I can then take the data and import it into excel for later processing.
GYU wrote:
> Thanx Brian,
>  
> I've gotten the 4145A to make measurements and FINALLY able to RECEIVE data.  Unfortunately, when I'm expecting 101 data points, I only received about 73.  It just plugs "0"s into the rest to fill up the array.  I was adjusting to allocate enough memory bytes during receive as well as delay time during the loop of the receiving.  I'm still not getting the full 100 data points.
>  
> Does anyone also knows how to pull 2 parameters out at the same time?  When you list "LI" with two parameters "LI 'XX', 'YY';" (I'm using only 1) , how can you pull out BOTH parameter data at the same time? Right now, I'm only listing 1 parameter, send in the DO 'XX' cmd, the 'DR1' cmd...thus, I'm receiving only 1 set of data at a time.  When I list 2 parameters and try to read it, it'll just crash because it cannot distinguish between data XX or data YY.
>  
>  
>  
>  

Similar Messages

  • Multiple LABVIEW GPIB Commanding alternating Write followed by read many times

    Hi,
    I am trying to convert my labwindows C program over to Labview.  This is a VISA GPIB application.  I have seen how you can send multiple
    commands in Labview by sending the commands separated by semicolons.  However with my instrument.  I need to write one command
    then immediately read the command. and report the results to a text window for user visual verification.
    In C is sent around 47 or so commands to the instrument just to be sure all of these parameters have the correct configuation.  I did this with a
    Array of strings with each element a string command.  then simply used a for loop in C to send to visa ViPrintf function.  Always one write and one read followed by displaying the command string and the response to the instrument.
    I would like to do the same thing in Labview. 
    Thank You for your help,
     Gary
    Message Edited by golson on 07-14-2009 04:02 PM

    OK. So what's your question? LabVIEW has VISA functions as well. VISA Write and VISA Read. LabVIEW has loops. LabVIEW has arrays. Thus, you can create an array the same way you did in LabWindows, and drive a loop with that array, and send a write followed a read.
    Perhaps you can clarify what you're asking for. 
    Have you looked at/gone through the tutorials? To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.

  • Is it possible through labview to set and read window¿s based file properties​?

    Any file in XP operating system has file properties associated with it, such as, size, location, when the file was created, modified and last accessed. I know that Labview has the ability to access the size and modified property. Other file types such as image format types jpg, bmp and tif have additional associated properties such as: title, subject, author, and comments. Is it possible through labview to read and set these properties programmatically?

    Hpopenoe wrote:
    > Any file in XP operating system has file properties associated with
    > it, such as, size, location, when the file was created, modified and
    > last accessed. I know that Labview has the ability to access the size
    > and modified property. Other file types such as image format types
    > jpg, bmp and tif have additional associated properties such as: title,
    > subject, author, and comments. Is it possible through labview to read
    > and set these properties programmatically?
    Well, you can most probably do that by calling Windows API functions.
    Note however that the properties you mention are not generic Windows
    file properties but file specific internal attributes. Explorer does at
    least in XP handle some of those properties and shows them to the user
    but does so with internal file type handlers to extract the properties
    from the file.
    I'm not sure those file type handlers are actually available for other
    applications than Explorer without quite some work. If they are
    available they are certainly not part of the standard Win32 API but most
    probably part of the Windows shell component and I would guess not just
    through normal API function calls, but through the shell namespace
    enumeration, which is built on COM interfaces, something you only can
    call from standard programming languages, most of them are done in C++
    (and if you are a little more persistant in standard C).
    So you are likely to need to either write your own DLL doing the nitty
    gritty work of calling the shell interface and using that DLL in LabVIEW
    or find an Active X component which does the work for you. No doubt
    there is such an Active X component somewhere but how good and expensive
    is always a big question.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • I want to know hardware to collect voltage and current from battery and read it through labview

    Hi all ,
    As per requirement of my job I want to measure voltage and current of battery connected to motor. I want to read those voltage and current through Labview. I want to know what hardware I need to acquire that voltage and current and feed it to computer and read through Labview.
    I also want to know, whether I need to program according to hardware I use or Whatever I will program will read data coming from hardfwarwe?
    Please give suggestions over it .
    Thanks
    c59409

    c54909,
    It depends on what equipment you have available and what is your budget.  You could for example use a storage oscilloscope with a current probe to accomplish this task.  This will give you very good timing waveforms if your charging sequences are short.
    If you are looking to automate I would recommend using any GPIB controllable power supply by Agilent or HP such as a (Agilent E3634A) and a USB-HS from National Instruments.
    Keep in mind depending on how accurate you want your data you may need a GPIB current meter to read low currents in the uA.  If you only need mA resolution you can usually use the same power supply you are making the voltage reading from.  You want to make sure you pay attention to things like current limits on your supply and Over Current Protection settings (OCP) as they can make testing interesting.
    Regards,
    -SS

  • I downloaded an upgrade to my adobe reader today, and ever since my search engine has switched to yahoo and wont change back to google. I have a macbook pro, help please? Does anyone know how I can change this back? I have tried through my settings but it

    I downloaded an upgrade to my adobe reader today, and ever since my search engine has switched to yahoo and wont change back to google. I have a macbook pro, help please? Does anyone know how I can change this back? I have tried through my settings but it doesnt work

    Hi Timia,
    If you are using Safari as a web browser :-
    Open Safari, go to Safari menu > Preferences > General, and put Google as the homepage. Then, choose Google as your default search engine.
    If you are using Google Chrome as the web browser :-
      Open Google Chrome.
      In the top right corner of the page, click the Chrome menu Chrome menu > Settings.
      In the "Search" section, select Google from the drop-down menu.
    Let me know if you still experience any issue.
    Regards,
    Aadesh

  • Networked Computer Cannot Write to Remote Device, but Can Read and Delete

    I am troubleshooting a Mac on OS X 10.4.11 that is having troubling file sharing with a file server also running OS X 10.4.11. The computer cannot write to the file server, but can read files, create blank files, and even delete files.
    I have a small network that typically includes 5-7 Macs running various versions of OS X and several Windows PCs of various types. All computers on the network have access to a pair of external drives by way of a networked iMac running OS X 10.4.11 with File Sharing and Windows File Sharing enabled.
    One of the Macs on the network (also running 10.4.11) is experiencing assorted permissions issues with one user. When attempting to save files to the external drives or file server desktop via AFP, this user account will receive an error to the effect that they do not have sufficient privileges to do so. However, a stub file will be created on the remote machine (an 8K file of the same name and type, but having no content). The user can read files but not save changes. However, they can delete files. Further, this user receives notices that they do not permission to add files to user drop boxes hosted on the same machine.
    Interestingly, when connected via AFP to a machine running 10.5.8, this user can read and write files normally.
    A new user account was ceated on the affected machine. This accounts functions normally.
    Windows File Sharing is enabled on the affected machine, however disabling seems to have no effect.
    Permisisons have been repaired via Disk Utility.
    Permissions for all files on external drives have been set to 777.
    No other devices or users on network are known to have experienced any problems.

    Very strange, long shut, but In Finder, select Go menu>Go to Folder, and go to "/volumes".
    Volumes is where an alias to your hard drive ("/" at boot) is placed at startup, and where all the "mount points" for auxiliary drives are created for you to access them. This folder is normally hidden from view.
    Drives with an extra 1 on the end have a side-effect of mounting a drive with the same name as the system already think exists. Try trashing the duplicates with a 1 or 2 if there are no real files in them, and reboot.

  • I have a Leopard DL disk & bought an external CD drive, but I read that I can't install through USB?

    I also have a Leopard DL disk and having the same problem with my eMac. I bought an external CD drive, but I read that I can't install through USB. Why is that? Would a USB A female to FireWire IEEE 1394 6P converter work? Or do I have to buy another CD drive with a FireWire? Please help.
    PS
    Can you also please explain how to boot from an external drive? (CD drive and storage device). Is there even a way to save the disks content to an external memory device and install it from there?
    Message was edited by: Edz2
    <Re-Titled By Host>

    Hi,
    Very few PPC Macs can boot from USB, most require Firewire... BUT, all 3 of my eMacs can & do boot from USB, try holding the alt or option key at bootup.
    A USB<->FW converter will not work.

  • How can I set the SRQ bit on GPIB with LabView ?

    Hello,
    I am developping an application with LabView RT on a PXI RT system. This application acts as an instrument (non controller GPIB), and I need to assert the SRQ line. How can I do that ?
    I know the ibrsv function, but I can't find it in LabView, and I can not use it through a DLL call since GPIB DLLs are not compatible with Real-Time.
    Thank you.

    Hello Alfonso,
    It sounds like you might be getting errors -200279 and -200278.  (In the future, if you post the actual error codes, it helps us to know exactly what is happening).  Error -200279 happens when you are performing a hardware-timed acquisition (meaning the data is sampled according to a clock signal on your board), but your LabVIEW program is not reading the values from the buffer allocated for that task in computer memory fast enough.  Basically it's a buffer overflow error.  It means older samples have been overwritten before you attempted to read them out.  As the error message suggests, "increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem."  For more information on this error, please see the KB (DAQmx) Error -200279 During a Continuous, Buffered Acquisition.
    Error -200278 happens most often when you have configured a finite acquisition, but are calling the DAQmx Read function in a loop.  If you want to perform a finite acquisition, you should only call DAQmx Read once.  For more information on this error, see the KB Error -200278 at DAQmx Read.
    Finally, please refer to Abhinav's earlier post about the sample rate on the 9237 module.  As he described, the NI-DAQmx 8.3 driver will only allow you to set the sample clock to integer divisions of 50k (50,000/n, where n can be 1, 2, 3...13).  Since the maximum divisor is 13, the smallest sample rate that can be used is 3.846 kS/s.  You can check what value the driver is actually using for the sample clock by reading from the SampClk.Rate property of the DAQmx Timing property node.
    I hope this helps!  Let me know if you have any questions about what I've described.
    Best regards,

  • How to control RS232 Interface through LABView?

    Does LABView have the ability to control RS232 Interface? If it does, what version of LABView has this capability? The LABView versions that we have in the company are 7.2 and 8.1 only. The operating systems that we have are Windows and Linux.

    i have a question i am wanting to control an rfid reader/writer that has a  RS232 or USB connection through labview. Here are some specs on the product. is this possible for it to work.
    Key Features
     Fast data transfer
     Supports multi-detection
     ANT1015A for wall or desktop 
    mounting
     Baud rate: 19,200bps, N, 8, 1
     ABS housing
     RS232 or USB connection
     IP40 protection rating: waterproof 
    and dustproof
    Technical Specifications
    Frequency 13.56MHz
    Technical certificates CE, FCC
    Power requirements 12V DC, 300mA 
    Display 3 status LEDs
    Read/write distance 30cm, with ISO 15693 compliant transponders
    Technical Certificates CE, FCC 
    Antenna connection RP-SMA 50ohm
    Transponder compatibility HF, ISO 15693 compliant transponders
    Operating temperature 0 to 60°C
    Storage temperature -20°C to 70°C
    Humidity 10% to 90% relative
    Dimensions 345mm × 240mm × 20mm (L ×  W × H)
    The link below will take you directly to the product.
    Hf Rfid
    Attachments:
    13.56 MHz. High Frequency (HF) Reader RFID Writer with Antenna.pdf ‏389 KB

  • How do I properly build a dll in cygwin (gcc) that can be loaded through Labview 5

    I am a newbie to building dlls as well as to cygwin. I realize that this is more a cygwin/gcc dll build question, but I have built a dll (using cygwin) that can only be accessed by running an executable through cygwin. When I try accessing a function in the dll through labview, I keep getting a "function not found" error, even though the parameters etc are correctly passed.
    If anyone has built a dll through cygwin (and has had success using it through Labview), I would appreciate directions on how to do so properly.
    Thank you in advance.

    Yes, this is a cygwin support question, so I won't be able to help you much from the LabVIEW side. Just make sure you follow the instructions in Using External Code in LabVIEW manual on gcc compiler.
    Building and Using DLLs
    Zvezdana S.

  • Using Intermec printers to print through LabVIEW

    Hi! I would like to call my Intermec label printer to print through LabVIEW over the serial connection (RS-232 port) but I have no idea on how to start. Anyone has any suggestions or examples that I can refer to ?
    Thanks!
    Regards,
    YuanGe

    Hi Smercurio,
    Thanks for the reply. I only have some example programs which were written using Visual Basic 6.0 as reference. I do have the Intermec Programming Language(IPL) Guide also.
    I had tried to do some callings to the printer using the commands from the IPL Guide, but it seems that the printer doesn't respond to anything at all. I am using the  basic_serial_write_and_read.vi to do some serial programming with the printer and LabVIEW but to no avail. Every command that I tried to input, the read control returns exactly what I had input, which probably shows that it is not working as I hope it is.
    I had used LabVIEW for my final year project during my university days, but it had nothing to do with serial connection/communication, so you can say I am a greenhorn in this area.
    Attached is the VI that I used to do the calling and the IPL Guide.
    Many thanks!
    Regards,
    YuanGe
    Attachments:
    basic_serial_write_and_read1.vi ‏31 KB
    IPL Intermec Printer Language 066396.pdf ‏1522 KB

  • I would like to know if i can share variable across internet through labview?

    Hi, I am trying to learn how to share measured data across internet through labview so that it can be viewed and controlled offline. For this i have seen the G server configuration guide. Can i have a shared variable so that the data logged into this variable can be accessed and controlled through the other remote system. Further  can i have some theresholding operation on this shared variable to raise a alarm when the condition is satisfied.
    If there is some reference document which can clear these issues then kindly post the same.
    Regards
    Shashi

    differential equation wrote:
    I have read the link which you have forwarded. I just want to reconfirm my understanding that if we want to share the variable using single process then we don't require any special hardware but in all other cases we need to have dedicated hardware.
    You don't need any dedicated hardware. The variable engine can run on your local computer.
    LabVIEW Champion . Do more with less code and in less time .

  • Framegrabber board control with ActiveX through LabView

    I have a framegrabber board that is not from National Instruments. It is
    from a
    company called Coreco. The name of the board is the Bandit board. I have
    been
    trying to determine how to control it through LabView. Several weeks ago
    I found
    the ActiveX control for the Bandit board on the Coreco website (www.coreco.com).
    I installed the control so that LabView could control the board. However,
    I have not
    been able to get image acquisition. I have read the instructions for the
    ActiveX control,
    but everything I try still does not start image acquisition. Does anyone
    have experience
    with both LabView and the Coreco Bandit ActiveX control. I would also consider
    some other approach to controlling
    the Bandit board. Thank you for any help
    that
    you can give.
    Sincerely,
    Trinity Ellis

    >
    > I have a framegrabber board that is not from National Instruments. It
    > is
    > from a
    > company called Coreco. The name of the board is the Bandit board. I
    > have
    > been
    > trying to determine how to control it through LabView. Several weeks
    > ago
    > I found
    > the ActiveX control for the Bandit board on the Coreco website
    > (www.coreco.com).
    > I installed the control so that LabView could control the board.
    > However,
    > I have not
    > been able to get image acquisition. I have read the instructions for
    > the
    > ActiveX control,
    > but everything I try still does not start image acquisition. Does
    > anyone
    > have experience
    > with both LabView and the Coreco Bandit ActiveX control. I would also
    > consider
    > some other approach to controlling the Bandit
    board. Thank you for any
    > help
    > that
    > you can give.
    >
    > Sincerely,
    >
    > Trinity Ellis
    >
    Try to use the Windows-DLL with is delivered with your board. I had used a
    Matrox-Genesis board and had the same problems. The dll's worked. Gruß,
    Tobi.

  • Why would the audio play through the headphones but not the speakers?

    I am working on an app that has embedded video. The audio works fine through my speakers and headphones as it does for some of my coworkers, but I also have other coworkers who get audio through the headphones but not the speakers. It's a variety of devices, 4, 4S, and 5. Any thoughts?

    If you are working on developing an app perhaps you should try the developers forum.

  • I am trying to restore my calendar from my Time Machine backup. I can get through the process, but at the end I get a message that Calendars cannot be amended as it is required by OS 10. There is no facility to authorise a change. How do I get round this

    I am trying to restore my Calendar from my Time Machine back up. I can get through the process but at the end I get a message that Calendars cannot be removed or amended as it is required by OS10, there does not appear to be any option to authorise the backup or change. How can I get round this roadblock?

    I am trying to restore my Calendar from my Time Machine back up. I can get through the process but at the end I get a message that Calendars cannot be removed or amended as it is required by OS10, there does not appear to be any option to authorise the backup or change. How can I get round this roadblock?

Maybe you are looking for

  • Error while accesing ABAP web dynpro application

    Hi Experts, We are getting warning symbol on web page status bar, when we are accessing the ABAP web dynpro application only first page of application is getting loaded and when we click on page it is showing error on status bar and we can perform an

  • The right headset for mac and skype

    hello there are problems with line in on g4 macs which are well known so here is the answer buy a plantronics 45 headset BUT NOT FROM APPLE BECAUSE THEY CHARGE 79 POUNDS WHEN EBAY OR AMAZON CHARGE ONLY 29 POUNDS IT WORKS GREAT PLUS YOU GET 120 MINS F

  • Error about CHsxServer.cpp

    When login smartview,show the error,"请求ConnectToProvider"的响应包括意外的标记属性clientExtVersion And hfmlog show the error: Error*11*hfm25*09/13/2011 10:21:46*CHsxServer.cpp*Line 2758*<?xml version="1.0"?> <EStr><Ref>{6342FD28-E9E0-43D7-AD40-B67A369529AD}</Ref>

  • How to open an old .book/ .doc file(s) and create PDF?

    Hi team, I seek your help and would like to know if you have a suggestion/ solution for the situation stated below − Situation Our development team received some files. These files seem to comprise of two sets of files and one .derive file. The sets

  • How to make a A2 in inDesign? (cant see mm)

    I got a problem I cant see my mm when i make a new document! this is what i get: w:51p0 / H:66p0 please help me