Reading COM : VISA: (Hex 0xBFFF0015) Timeout expired, before timeout (10 Sec) is over!
I read ASCII data from COM1 all day long, 4 string sections within 34 Char, write to an ASCII-CSV-file and if app is started read old data to display in variable time resolutions the data.
Is there any example-app near to this?
I am completely new to LabView.
I started with Basic2Port serial read write, getting above timeout message before specified timeout is over.
Usually my data comes every 5-8 seconds from an oil quality measuring sensor.
best regards
Frank from Achenbach Buschhütten GmbH, manufacturer of rolling mills
Hello Frank,
Here are some further examples you might test with:
Serial Communication - Advanced Serial Write and Read
Sending and Receiving Serial Commands using VISA
Serial Communication for LabVIEW 6.1
Most of all serial communication problems are due to wrong port settings, so pleasedoublecheck cour serial configuration.
Here is a good knowledge base for troubleshooting serial communications:
Ingo Schumacher
Systems Engineer Sound&VibrationNational Instruments Germany
Similar Messages
-
I am trying to control an HP 8350B sweep oscillator. I have an Agilent PCI-GPIB card installed on my computer and have set it up to run with labview. I installed NI VISA, followed by Agilent IO libraries and activated the Tulip passport in NI MAX.
I tried turning on the "enable agilent GPIB cards for 488 programs" in Agilent IO libraries and checking the VISA test panel for WRITE and READ, but I get the timeout error: (Hex 0xBFFF0015) Timeout expired before operation completed signal recovery
On moving to labview, when I configure the VISA Serial it gives me this error
Error -1073807331 occurred at Property Node (arg 2) in VISA Configure Serial Port (Instr).vi->8350_VISA.vi
and the possible reason is
VISA: (Hex 0xBFFF001D) The specified attribute is not defined or supported by the referenced resource.
Subsequently on removing the VISA Serial, I get errors in Write and Read with the possible reason being
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
Help !!
Attachments:
HP-8350B_VISA.vi 16 KBMoving to LabVIEW makes no sense if you get a timeout error in the VISA test panel and doing any sort of serial configuration makes even less sense. What query did you use with the test panel? Did you confirm it exists in the manual? Did you enable GPIB on the instrument?
-
Error -1073807339 Hex 0xBFFF0015 Timeout expired before operation completed
Hi,
I am getting the Error -1073807339 Hex 0xBFFF0015 Timeout expired before operation completed message box but unlike many users that seemed to have a similar problem, it doesn't happened systematically... I am getting the message box error at random on a measurement and then it just works back fine, until the next time it happens again during a continuous measurement acquisiton.
I am working with a HP 34970A, plugged to the pc with a Agilent 82357A USB to GPIB and LabVIEW 2012 sp1. MAX is up to date, so is the I/0 Libraries of Keysight. Drivers are all installed and updated, Communication with IEEE 488 is enable in the I/0 Libraries, passport tullip also in NI VISA through MAX. I run a small VI that should make a continuous acquisition of four temperature using PT strobes plugged to the HP 34970A and graph them, also writting them on a Excel like document. The waiting time between two measurement is set at first by users. To take the measurment, I am runing an adaptated VI from the HP 34970A drivers. I think the problem comes from my VI's structures but I can't find it myself. I am also very surprised that it actually does work fine most of the time and just randomly crash in a loop...
I attached the VIs if needed.
I hope I was clear enough and that you might have an idea to help me fix this problem.
Thank you in advance.
Attachments:
Main_VI.vi 17 KB
Agilent 34970 Temp Scan.vi 36 KBIs there someone here to help me?
-
I am trying to get a reading from the KE6487, but I am receiving the following error.
"KE6485 Initialize.vi<ERR> Driver Status: (Hex 0xBFFF0015) Timeout expired before operation completed."
The driver I download for this device is KE6485, but is also compatible for KE6487. Therefore I think it should not be a problem.
I have attached the VI I'm using for your consideration.
Please advice, thank you for your time
Attachments:
Capture.PNG 5 KB
Capture 1.PNG 21 KB
KE6485_ZeroChk_LV6.vi 45 KBHow are you communicating? GPIB? Are you sure you have the correct address. Can you send an IDN command with MAX? Does MAX see the instrument?
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
Hi,
I am have written a program with labview to make transient c-v measurement using a stanford research SR830 lockin amplifier. The program seems to be runing fine, but sometimes it is givvibg an error:
Error -1073807253 occurred at VISA Read in transient SR830.vi
Possible reason(s):
VISA: (Hex 0xBFFF006B) A framing error occurred during transfer.
Error -1073807253 occurred at VISA Read in transient SR830.vi
Possible reason(s):
VISA: (Hex 0xBFFF006B) A framing error occurred during transfer.
but if I press ok, the program again starts running. What might be the poblem? BTW I googled a bit and I see that in the labview topic "RS-232 Framing Error with HP 34401A Mulitmeter" by pkennedy32 this is what is said about framing error:
""Framing Error" in an RS-232 context means a very specific thing - when the receiver was expecting a stop bit, the line was not in SPACE condition. This can be the result of:
1... Baud rate mismatch (although other problems would likely crop up first).
2... Data Length problem, If I send 8 data bits and you expect 7, the stop bit is in the wrong place.
3... Parity setting mismatch - If I send 7 data bits + parity and you expect 7 data bits and no parity, the stop bit is in the wrong place.
4... Mismatch in # Stop bits - If I send you 7 Data bits + parity + one stop bit, and you expect 7 data bits + parity + TWO stop bits, the second one might not be correct, although most devices do not complain about this.
But, I must say that this is the same com port setting that I use to measure c-v hysterysis, but I never gt this error there.
I attach the program herewith for your kind perusal. Please help me resolve this issue.
Thanks in advance.
Solved!
Go to Solution.
Attachments:
transient SR830.vi 94 KB
csac.vi 8 KB
sr830 initialize1.vi 15 KB@Dennis Knutson you are right I checked the read indicator in backslash mode, and instead of a \n it is sending \r. So I changed the \n in my write strings to \r. But, if I keep the CLOSE VISA outside my loop instead of inside as you suggested, the termination character appears to come in the middle of the read string instead at the end. And since the read terminates at the \r so it is displaying some junk value before the \r, but if I put the CLOSE VISA outside the loop and play along with the bytes at the read buffer, I see the whole read string with the \r at the end of the string. But, whenever the values are in exponential form (when close to zero) like 6.938839 e-5, I always get a time out error whatever be the timeout that I put at the VISA initialize. And subsequently, if I stop the program and run it again the machine program hangs and I donot get any reading. Then after I close it again and start, sometimes it hangs for some more or starts working. If I put an arbitrarily large byte count at the READ VISA, then I always get the time out before the operation completed error.
@ Ravens Fan I have removed the CSAC VI altogether and taking the CH! And CH” reading separately, instead as one string. So, no more issues with that.
I use the control at the delay so that I can choose how much delay I want to set, and I use the math operation because I am using adding up the delay time to keep track of the time elapsed. Because in the end I have t plot a time vs. CH! And CH” readings.
I am not sure but probably I am making some silly errors. Please help me out.
Attachments:
transient SR830-2.vi 103 KB
sr830 initialize1.vi 15 KB -
VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error
Hello
I'm trying to communicate with a device which have to be tested with my application. So I send it a command to initiate the device to send me back some values. This values are sended continously with a baud rate of 57600.
I create a VI to test this communication but I always get the error:
VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error
I have googled for this thread, but all the described solutions didn't solve my problem (ex. Set Buffer Size to 48, Various Byte Count Values for the VISA Read function, etc.).
Note: the VI works properly in the LabView 6.1! I have tested. I also tried to receive the Data with a Termial programm (works fine). But another COM Port (on an USB Serial converter) shows me the same Error.
I just updated to Visa 3.4.1, but no success
LabView 8.0.1Yeah it works
of course buffer to 4096 and mask to 48
I added a Flush I/O buffer (mask 16) before reading from Visa (problem was to read data).
And suddenly it works fine.
I can't reproduce where the error exactly was. Could it be possible that the RX buffer was already full
at the time I would to read from Visa or at the time the COM port received data? There are some questions to find out:
how does LV handle the buffers? will the buffers be cleared if LV starts? when does LV flushes the
buffers?
thx -
Exam Voucher 74-409 expired before due date
yesterday I went to prometric testing center to schedule my exam for 74-409 with free voucher print out, the Test Administrator check the voucher number in his system and replied me that your voucher is expired before due date and advise me to contact
Microsoft.
My email ID: muzeepk, on which I received the voucher , please do the needful as soon as possible.
Thanks,
Mustansir.Please contact your Regional Service Center.
(As of this very second, that page appears to be broken so perhaps try it again later)
Jason Warren
@jaspnwarren
jasonwarren.ca
habaneroconsulting.com/Insights -
When I print in Adobe Reader, the paper scrolls down several inches before the text begins therefore running off the page. I have tried numerous settings and cannot fix problem. Help!!!
I have finally cracked it!!!!!!!!!!!!!!!!
The issue is definitely with Java Sun. "Uneven character spacing when printing JTextComponent"
It is raised on the http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6488219
And currently in OPEN state, and raised on 31 Oct 2006 and mentions it was caused by fix 4352983.
So where do we go from here. It's not good because I have tried all later version of the JVM and the issue is still there.
Why? Because it hasn't been fixed yet. Read the bug report above, as it gives more insight -- and mentions the workaround is NOT good for existing code.
So the way forward is to use an earlier version of the JVM 5.
I download the JVM version 1.5.0 (starting version) and works Ok... I would probably think version prior to 4352983 would be Ok too.
Please vote for this.... We have a workaround (use older version of the JVM).
So I am very happy. -
I wonder if the apple software developers can come up with a password input before you switch your phone to airplane mode?
Could this be a solution to making your phone less prone to be stolen and easier to find in such case?
Just asking.Tell Apple...
http://www.apple.com/feedback/ -
Bought it from an authorized reseller, and have proof of purchase. Will this make my warranty still valid til august 14 2013? Can i still buy the extended Apple care? Cuase my Macbook just died on me
Checked if the warranty had expired onn the link you posted:
https://selfsolve.apple.com/
It says it has expired, i will contact the reseller when i go home from work. But still, i have all my proofs of purchase, shouldn´t that be enough to validate my warranty at an Apple store?
Or should i contact Apple for that matter.
By the way, Thanks. -
When I send an imessage with wifi it sends it from the original number I got with the phone before I ported my number over. When I send an imessage on the network it comes from my own ported number. How do I change the imessage so that it comes from my own ported number?
Yeah send it from your phone.
Your computer has no knowledge of your phones phone number, it is not a phone. -
Renting Movie Expired Before Watching it on iPad
I Rented two movies on my iPad and both are "expired" before watching them. How can I get a refund?
Hey BL4571,
Thanks for the question. After reviewing your post, it sounds like you want a refund for a purchase. I would recommend that you read these articles, they may be able to help you resolve or isolate the issue.
Report an problem with an item you bought from the iTunes Store, App Store, Mac App Store, or iBooks Store
FAQs about renting movies from the iTunes Store
You have 30 days to start watching a movie after you rent it. When you start watching the movie, you have 24 hours (in the US) or 48 hours (elsewhere) to finish it.
Thanks for using Apple Support Communities.
Have a nice day,
Mario -
Serial trial expired before the 90 days..help me please
Good morning, I wanted to mention that the serial busisness Objects Integration Kits expired before the stipulated time.
Please if you can help me because I was doing some testing, to view this connector funcionability nanny in the Palm Springs and buy the license.
Thank you very much.Hi,
trial keycodes can be received here:
http://service.sap.com/licensekeys
Ingo -
1073807346 Error & VISA: (Hex 0xBFFF000E)
Hi,
i connect a lock in amplifier SR830 with my computer use a Agilent GPIB-USB adapter, and have download the VI from the Lock in company. But wenn i run it, occurrence these Error.
http://digital.ni.com/public.nsf/allkb/A2561CDE98B66DD4862566510078264F
http://digital.ni.com/public.nsf/allkb/25121C491778AD2086256FFE007CC361
These solution do not funtion.
Thx
Attachments:
Stanford Research 830 Acquire Measurement - 1 Parameter.vi 34 KBthx, i have soluted this Question.
Here is a methode in internet to connect computer with GPIB.
Measurement & Automation Explorer 4.x
To use the VISA Passport editor in MAX 4.x, select Tools » NI-VISA » VISA Options... Once the VISA Options screen appears, select Passports in the tree view (My System » General Settings » Passports). Enable the NiVisaTulip.dll by placing a check mark in the box beside it and then click on the Save button. You will need to restart MAX for the setting to take effect. Once MAX is restarted, you will be able to access your third-party GPIB boards and give them VISA aliases under My System » Devices and Interfaces » Miscellaneous VISA Resources.
Wenn i enable the NiVisaTulip.dll, my Labview can not read the VISA resource name. But wenn i again disable the dll. Problem done. -
my cd drive is saying unable to read cd, it has never said this before i have imported hundreds of cds to my i tunes library , but now i am unable too.
Could you post your diagnostics for us please?
In iTunes, go "Help > Run Diagnostics". Uncheck the boxes other than DVD/CD tests, as per the following screenshot:
... and click "Next".
When you get through to the final screen:
... click the "Copy to Clipboard" button and paste the diagnostics into a reply here.
Maybe you are looking for
-
StorLib error message in the Lenovo Solution Center
I keep getting an error message under the device manager tab in the Lenovo Solution Center. It says under drivers - 'StorLib bus (virtualstorage support)', status is 'Uninstalled'. I can't find anything anywhere about this or how to correct the issue
-
Using an AEBS as a WDS remote to Airport-enabled G5
Is it possible to share my G5 internet connection (via an Airport network) to devices connected to a remote Apple Airport Extreme Base Station via its Ethernet ports? I created an Airport network on my G5 and turned on Internet sharing. In the AEBS,
-
Adding a field through FDI2 : change drilldown report
Hello, i am modifying the due date analysis for customer Open Items report On FDI2.I wish to add the Tax Number1 field(KNA1-STCD2) field to the report. On the characteristics tab, it shows a list that can be added to the report.Tax Number 1 is not am
-
i have the current Mac Pro the entry level with the default configuration and i feel lack of performance when applying after effects on my videos using final cut pro and also rendering a video takes long time ? what upgrades do you guys suggest i
-
How to set preferred currency in SSHR application in change pay function
In SSHR application-->change pay function I would like to view salary components in preferred currency say INR. Currently, it is in USD defaulted from business group. Please let me how to do I do it. Thanks in advance, Nutan