Symbol output using VISA but it suppose to be normal string

i used VISA to retrieve data from device(TADATAKER). when i unload the historical data to my computer. The data come out all symbols and i am sure that the data is in normal string format because i can receive it correctly in using VB.How to solve it?Is it the computer speed will affect the VISA or the VISA time out problem to receive data?I also not really understand the time out function. If within the time out the VISA also cant receive data it will gv a error message.How do i know when the device will return data to computer.why it can not stand there and keep going receive data without gv error.What is the best time out number or how to determine it?

please post the exact VISA query you are using.
As far as the timeout, I rarely change the value. I usually set it to 2 seconds and leave it alone unless I have a very long operation coming up. There is one particular setting a have to use on my power meter to measure a very low duty cycle noise waveform. The power meter can take up to 45 seconds to settle and return data. So before I send the query command I set the timeout to 45000mS. I believe you can set it to a very very large value. Check the VISA manual. ]
The purpose for the timeout function is so that if you make a query and the instrument is not connected to the bus, or has an internal problem, or there is some other failure, your program doesn't have to just lock up. The query will fail with
a timeout and your code can use the error information to notify the operator of the problem. So set it to some reasonable value and change it when you start a long operation.
You mention using VB, but it is unclear if you are still using it. What are you programming with now? That may also be helpful to solving your problem.

Similar Messages

  • Sending a floating point through serial using VISA

    how do I send a floating point number through a serial port to my microcontroller using VISA Write

    I would recommend the Flatten To String because of being able to change the endiness.  Some systems want Big Endian while others want Little Endian.  It is best to specify.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Multiple inputs and outputs using DAQmx VIs

    Hello,
    I am fairly new with the LabView programming language.  I have a few training books that I have been reading, and I have been following online tutorials and reading the forums.  However, I have come to a problem where I don’t see a clear solution.  I am using LabView 2009 (9.0f3) and DAQmx VIs.
    I am using a NI 9172 chassis PLC, with two 9201 AI cards, 9217 AI RTD card, 9472 DO card, 9263 AO card, and two 9237 AI Bridge cards.
    I am reading eight analog inputs with the 9201 cards, two analog RTD inputs with the 9217 card, three digital outputs with the 9472 card, three analog outputs with the 9263, and eight analog inputs with the 9237 cards.
    I wrote a simple program to test one digital output task, two of the analog output tasks, and a single analog input task.  I put all of them in the same while loop, and it worked perfectly.  However, when I add analog input tasks to the same loop, I get an error 200022.    So I tested each sensor individually by changing the channel before each run.  I searched error 200022 and found that this is because I cannot start another analog input task until the previous one ends.  With this said, I don’t know how to acquire an analog voltage in the same task as an analog RTD voltage.  Both inputs take different constants in the start task DAQmx icon.
    Attached is my test program.  It is titled “Test All”. This is the program I used to test the various sensors.  I tested the input sensors one at a time, and it worked fine.  A few tasks are written just to test functionality, and will be added to later.  The data is only displayed on the screen.  I will add triggers and data write to disk functions later.  This program works now, but if I add more analog inputs, it will generate the 200022 error.
    Can someone show me how to correctly write the code for multiple inputs and outputs using DAQmx?  All training materials and tutorials I can find all show a single input or single output, not multiples of each.  Thanks for looking.
    -Randy
    Attachments:
    TestAll-NI.vi ‏32 KB

    Hi RandyC,
    The Knowledge Base article Using Different Types of DAQmx Global Channels in the Same Task goes into a little more depth of what Bryan is talking about, and it also includes some example code to help show what to do.
    Hope that helps,

  • My phone says there's 0 bytes available but only 6 GB are used the phone is supposed to be 8 GB I have no pictures at all and only 6 apps this is really bothering me please help I can't even take pictures because it says I've no storage

    My phone says there's 0 bytes available but only 6 GB are used the phone is supposed to be 8 GB I have no pictures at all and only 5 apps this is really bothering me please help I can't even take pictures because it says I've no storage I also have no messages at all

    My iPhone is a 16GB and it says 9.0GB Available and 3.7GB used; I suspect the missing 2.3GB is occupied by the system software.

  • HT204266 I tried to buy credits from a game I am playing but using visa card it was accepted once then all are rejected asking me to go to iTunes support but nothing there. How to solve this problem.

    I tried to buy credits from a game I am playing using visa card it was accepted once then all are rejected asking me to go to iTunes support but nothing there.
    How to solve this problem?

    You need to email iTunes Store Support. Click or tap  on Purchases, Billing and Redemption in here....
    https://expresslane.apple.com/Issues.action

  • In Turkish QWERTY Keyboard you can type less then symbol " " but you can type greater than symbol  by using shift , why ??

    In Turkish QWERTY Keyboard you can type less then symbol "< " but you can type greater than symbol  by using shift <, why ??

    In Turkish QWERTY Keyboard you can type less then symbol "< " but you can type greater than symbol  by using shift <, why ??

  • I live in vietnam and i use visa viet nam,i can buy app on appstore but i can't purchase in app, please help me! thank you

    i live in vietnam and i use visa viet nam,i can buy app on appstore but i can't purchase in app, please help me! thank you

    What happens when you try to do the in-app purchase, if you are getting an error message then what does it say ?
    If you are getting a message to contact iTunes Support then you can do so via this link and ask them why the message is appearing (we are fellow users, we won't know why) : https://www.apple.com/asia/support/itunes/contact.html
    If it's a different problem ... ?

  • I never used LabView but need to generate a RS-233 serial output string that contains an IRIG timestamp based on a contact closure. Is LabView an appropriate tool to do this? How much does it cost to get started with the product?

    I never used LabView but need to generate a RS-233 serial output string that contains an IRIG timestamp based on a contact closure. Is LabView an appropriate tool to do this? How much does it cost to get started with the product?

    Labview isn't cheap, but it would certainly allow you to build a program (set of vi's - virtual instruments) that would do what you describe. Where would the timecode information come from? Your vi, or program, would: Start up, initialize the serial port, loop until a trigger happened, read the timecode (from where?), output that timecode out the serial port in a loop until you pressed the stop button. There is a free evaluation of Labview software available from NI - the base product itself runs about $995.
    - Dave

  • HT4990 i have apple id with visa card,but now i dont use visa card and i have my id shoud free help me!

    i have apple id with visa card,but now i dont use visa card and i have my id shoud free help me!

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (124723)

  • Er so i bougi bought something from game the game is Deer huntht some golds and app store took money from my visa but i didn't find any golds that i bought ! please any help or how can i use the gold or restore the money? thank you

    i bought something from game the game is Deer hunter i bought some golds and app store took money from my visa but i didn't find any golds that i bought ! please any help or how can i use the gold or restore the money? thank you

    If you've been charged but not received the item then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com

  • I'm working on DC Motor control using DAQ. There is sufficient voltage output from DAQ but not current. What should i do so as to drive the motor

    I'm working on DC Motor control using DAQ. There is sufficient voltage output from DAQ but not current. What should i do so as to drive the motor. Could you suggest me appropriate driver IC using which this problem can be solved.
    Saravanan.T

    You really should use a DC motor controller to control a DC motor, look at the 754410 IC for a good example. You should be able to interface these to most DAQ devices.
    Alan

  • Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher

    Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher where date should be displayed as date only not string.

    I've tried to use hierarchy node variables, but it seems like you can't specify a attribute of the hierarchy such as level.  So with the WBS hierarchy, if you create a hierarchy node variable, you specify the WBS value to select (If I understand this correctly).  I wish I could instead specify "give me all the WBS nodes that happen to have the value of the level attribute greater or equal to 3.  If I understand Juergens post, he is saying make security access so that only certain WBS levels can be returned in the query.  I suppose we can try that, but that would then preclude getting the level 1 and 2 in the future if the authorization is global.

  • Controlling two GPIB instruments using VISA

    I'm using Labview 5.1.1 (unfortunatly I have no way of getting a better version) and I want to control a multimeter and a powersupply. I need the power supply to vary it's output while the multimeter reads the data for the different power supply outputs. This means that the multimeter and power supply need to work synchronously. How can I do this using VISA? or is there an easier way?
    -Labmonkey

    This isn't really operating "synchronously" - you're really just trying to set up a closed-loop system. Is there an easier way? Yes. Check if the power supply has remote sense capability. This does exactly what you're trying to do. This is a far better solution that trying to perform the closed-loop system in software. In fact, I would get a different power supply if the one you have doesn't have remote sense capabilities, but that's just me.
    If you *really* had to do in software you basically have to set up a while loop that get the measurements from the multimeter, compares it to the desired setting, sees if it's within your desired "error", calculates how much delta to apply to the programmed voltage for the power supply (taking into account that the
    programming resolution of the power supply won't be the same as the measurement resolution of the multimeter), and the programs the power supply to the new, corrected, setting.
    Still say you're better off with a power supply with remote sensing.
    -Saverio

  • Cannot communicate using VISA

    i'm a new user of labview 7.0 and trying to communicate with philips function generator PM5191. when i'm communicate using instrument io assistant, the front panel of the PM5191 is changing and i can get the output signal as i set in the string, but when i communicate using VISA, the front panel is changing but i cannot get the expected output from the PM5191. why?

    ok then
    Attachments:
    zahid-visa.vi ‏93 KB

  • How do I use VIs developed on LabView v8.2.1 with a system running LabView v7?

    Hi...I need to use VIs developed on v8.2.1 for a Network Analyzer on another system having v7.0. Is there any way to down-convert or save VIs for previous version 7.0? I checked the 'save with options' menu but could only find v8.0 in the list of previous versions. Thanks. 

    Hi Omkar,
    to save it for LV 7.0 you need LV 8.0 and as far as i know LV 7.1. With LV8.0 you can save it for LV7.1 and with 7.1 you can save it for 7.0. If you have only a few vi´s you can ask someone here in the forum if he can help you.
    Mike

Maybe you are looking for

  • What keyboard cover should i buy for my MacBook Pro 13in Aluminum Unibody?

    I am struggling to find the right keyboard cover for my mac. This is my first mac, therefor i am not experienced in purchasing such accessories. If you could, please give me your opinions, and i would appreciate you giving me the "pro's" and "con's"

  • Search help for Acct Assignment not working

    Hi,    When I create a PO and go into the account assignment tab at the item level and try to bring up the search help by clicking on the Binoculars , nothing happens. The backend has been upgraded to ERP2005. We are on SRM 5.0 Any thoughts on why th

  • Selecting the difference between two images

    Hi I have two photographs exactly the same which I have taken using a tripod, lighting and general studio conditions.  However, in the second picture I have inserted an subject - in this case an intricate sculpture.  Can Photoshop merge those two ima

  • IP status is in Yellow but job is finished

    Hi , I am working on BW system in which I am loading the data from IP to Data Target directly without PSA. Here I am facing a problem that load is failed but If I go to IP Monitor, I am able to see that request is in yellow color. I have gone to ST22

  • Problems with 7970 not booting.

    I have a 7970 that won't boot. Screen is blank, but the bottons work when I ry to factory it, so I know it's not totally bricked. I've tried to factory the phone with both "3491672850*#" and "123456789*0#" methods, but no matter what I try, it doesn'