RS232 problem: LabVIEW not transmitting \03 (ETX) or (sometimes) last byte
Hi there,
I've coded small VIs to communicate with RS232 devices
since LabVIEW v3.x. I'm now trying to write a VI to
talk to an esoteric photon detector. Using a serial
line sniffer, I have verified the serial line setting s
and can communicate with the device using some
simple C programs. However, using LabVIEW, I cannot
get the \03 (ETX) character to be transmitted
properly. The first instance of the ETX character
in a string will always disappear while any others will be transmitted. I've used labview v6.0.2 on
both Windows and Linux and can reproduce the problem.
I think its a serial lne setting but can't for the
life of me find it...
What am I missing?
-Ed
Attached is a VI in LabVIEW 6i that can transmits the \03 character through VISA. This can be verified by running NI-Spy. Hope this helps.
Randy Solomonson
Application Engineer
National Instruments
Attachments:
03.vi 14 KB
Similar Messages
-
Can anybody help with this problem...
When I right click either an "Automation Refnum" (front panel) or an "Automation Open" and click "Select ActiveX Class > Browse..." LabVIEW just hangs and becomes "(not responding)".
Strangely - if I drop an ActiveX container onto the front panel and right click this selecting "Insert ActiveX Object..." then LabVIEW lists a healthy selection of objects - which indicates that not everything about ActiveX is broke.
The crash/hang when trying to browse for ActiveX Classes occurs with all three versions of LV I have installed 7.0, 7.1 & 8.0.
Can anyone help - please.
Mark.I tried it again after to get two screen captures (one with the LabVIEW Not Responsive message), unfortunately it is much faster when browsing after the initial search. Probably because a list was populated somewhere. So it's slow the first time...
Message Edited by JoeLabView on 11-01-2007 07:23 AM
Attachments:
ActiveX-ok.PNG 10 KB -
i am receiving the data through the rs232 in labview and i have to store the data in to the word or text file only if there is a change in the data. I have to scan the data continuasly. how can i do that. I was able to store the data into the text or word file but could not be able to do it. I am gettting the data from rs232 interms of 0 or 1. and i have to print it only if thereis a change in data from 0 to 1. if i use if-loop , each as much time there is 0 or 1 is there that much time the data gets printed. i dont know how to do this program please help me if anybody knows the answer
I have attatched the vi. Here in this it receives the data from rs232 as string and converted into binery. and indicated in led also normally if the data 1 comes then the led's will be off. suppose if 0 comes the corresponding data status is wrtten into the text file. But here the problem is the same data will be printed many number of times. so i have to make it like if there is a transition from 1 to o then only print it once. how to do it. I am doing this from few weeks please reply if you know the answer immediatly
thanking you
Attachments:
MOTORTESTJIG.vi 729 KB -
GOA Internal notes and Vendor text not transmitted to R/3
Hi SRM Gurus,
I'm currently working with SRM_SERVER 500(SAPKIBKS09) release, we use ECS (Extended Classic Senario) and we have following problem with global outline agreements (GOA).
In a GOA, the Internal notes and vendor text can be entered on Header and Item level. But the information from a GOA are not transmitted to R/3.
Do you know why !?
Cheers,
Rafi.Hi,
Pls see if the foll notes help:
609222
646903
BR,
Disha.
Pls reward points for helpful answers. -
Remmina not transmitting mouse wheel to VNC session
Hi,
I have just noticed that remmina is not transmitting mouse wheel events to VNC session. Never tried RDP, so I don't know if this is also affected.
First question: Is it only on my system or a general problem on Arch ?
If it is a general problem on Arch ...
I did a bit research abot this subject area, and I found some bug reports in multiple distros, but they are all marked as solved. So I think that it is fixed upstream. Otherwise the distros could not mark it as solved, right ?
If the package maintainer should read this ... is there a plan to update this package in near future ?
Thanks and Regards,
MarkusUsability bugs. The most annoying one was the size of the remmina window that was "never" right. And clicking the "1" button (top left) did unpredictable things. In most cases the window was maximised to full screen height leaving black bars above and below. The bug seems to appear less and less. I promise I will file a bug when I experience it again :-)
Crashes were always rare in my case.
But here's not the right place to lament around. -
It's so annoying!! I have created a new Apple ID but after I click verify it just goes back to the previous page!!! It''s really frustrating I have tried for more than 4H, and the problem is not about the apple ID. I can download apps with the apple ID, which means IMessage is the problem! I restarted my iPad, I logged in and out of the apple ID in the store, AND YET IT STILL WON'T WORK, PLEASE HELP!
Hi Vmanfromusa!
It sounds like you are having an issue with activating your iMessage app on your iPad. An article outlining some troubleshooting steps for this issue can be found here:
iOS: Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/ts4268
Thanks for using the Apple Support Communities. Have a good one!
-Braden -
in my i phone 4s all the notification sounds come first.after 4-5 seconds the msg,facebook notifications etc.seems to appear on the screen.But earlier the problem was not there.Earlier with instant sound the notifications were there on the screen.how to Sort out the Problem?
No, sounds like when you dropped it an cracked the screen it may have also damaged the logic board or the repair person damaged a cable.
-
Go figure both Apple support and Netflixs support "have never seen a problem quite like mine" the same day my free trial has ended. And no the, problem is not with my Netflixs account because they charged my debit card just fine. I'm trying to play instant movies on my netflixs account and every time I click on a movie or show it just shows up a black screen with no play controls. According to Netflixs I'm either missing a peice of software or I need to uninstall and reinstall a program or plug-in or something. At first they thought it was Microsoft Silverlight, but I've tried uninstalling and reinstalling that several times and nothing has changed, plus since I had no play controls as well the problem is definetly not Silverlight. So I was wondering what other types of software or plug-ins are needed to play Netflixs movies or if anyones else has had the same issue and knew how to fix it. And I know that it is a problem with my Macbook Pro, because my netflixs accout still works on my sister's computers. I've tried restarting my computer, restarting Firefox, signing out and back in on Netflixs, praying to God, clearing my cookies and chache, saying nice things to my laptop, yelling at my laptop, and pretty much everything under the sun. Nothing I do is fixing it. Please someone help me figure this out.
MacBook Pro / Mozilla Firefox / Netflix / Silverlight Update solved - DON'T DWNLOAD FROM NETFLIX
I solved this problem tonight. I have a MacBook Pro with 10.5.8. I know, it's old. But I love my Netflix and I recently noticed that Firefox plays Netflix much better. Then I suddenly got this message that I needed to download the latest Silverlight - it only takes 30 seconds! - WRONG. However, after much searching, I finally did the steps in order and it worked.
This was after repeatedly downloading Silverlight from the Netflix site without success. So here's what I did:
1. Went to http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx
2. Followed the directions. I felt like such an idiot for not doing it right before.
3. Go to your hard drive and search for "Silverlight" to locate ANY existing Silverlight files: .dmg, etc.
[also check your Libary/ Internet Plug-ins, but the above search is faster]
4. Drag it all to the trash and empty it.
5. Go back to the Get Silverlight page and click on the Install on that page, not the Netflix site.
6. Note the steps for Safari or Mozilla Firefox - I wanted Firefox, so I follwed those instructions.
7. Once it's installed, close all the browsers and Restart that bad boy. Right away.
8. Open a browser, go to Netflix and proceed to joyfully rot your brain with Netflix content. Yay! -
When the message arrives, the message tone sound that many times. How this problem can be solved? I installed the new version, but the problem is not resolved, the future is to be taken into account in the new version of this?
I'm not sure I understand the question, is the message tone going more then once?
Turn off repeat message alert here:
settings > notifications > messages > repeat alert > never
Some people have found this does not stop the repeat miessage tone,
if you are one of those then I suggest you contact Apple:
http://www.apple.com/feedback/iphone.html
They may not respond, but hopefully will fix in uodate if enough people complain. -
Hi Expert , crystal report export problem. system not responding
Hi,
crystal report export problem. system not responding.
Thanks
Rajkumar GuptaDear Raj,
Please try this
Try
Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rptDoc.Load(rptPath)
rptView.ShowExportButton = True
rptView.ReportSource = rptDoc
For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
oSubReport = rptObject
rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
End If
Next
Next
'Setting Paper
Dim rawKind As Integer = 0
Dim printSet As New System.Drawing.Printing.PrinterSettings
For i As Integer = 0 To printSet.PaperSizes.Count - 1
If printSet.PaperSizes.Item(i).PaperName.ToUpper = PaperName.ToUpper Then
rawKind = CInt(printSet.PaperSizes.Item(i).RawKind)
Exit For
End If
Next
Dim MyTest As New SaveFileDialog
rptDoc.PrintOptions.PaperSize = CType(rawKind, CrystalDecisions.Shared.PaperSize)
rptDoc.ExportToStream(ExportFormatType.Excel)
'rptDoc.SaveAs("C:\TBKING.xls", True)
'''How to export the report
Try
Dim CrExportOptions As ExportOptions
Dim CrDiskFileDestinationOptions As New _
DiskFileDestinationOptions()
Dim rename As String
rename = rptName.Replace(".rpt", "")
Dim CrFormatTypeOptions As New ExcelFormatOptions
CrDiskFileDestinationOptions.DiskFileName = _
"c:\Report\" & rename & "_Export_File.xls"
CrExportOptions = rptDoc.ExportOptions
With CrExportOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.Excel
.DestinationOptions = CrDiskFileDestinationOptions
.FormatOptions = CrFormatTypeOptions
End With
rptDoc.Export()
Catch ex As Exception
MsgBox(ex.ToString)
End Try
'' end by kevin shah
rptView.Show()
rptView.ShowExportButton = True
Dim oFrm As New System.Windows.Forms.Form
rptView.DisplayGroupTree = True
rptView.Dock = System.Windows.Forms.DockStyle.Fill
rptView.Location = New System.Drawing.Point(0, 0)
oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
oFrm.Controls.Add(rptView)
oFrm.Name = "Report Viewer"
oFrm.Text = "Report Viewer11"
oFrm.ResumeLayout(True)
oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
oFrm.TopMost = True
oFrm.ShowDialog()
Catch ex As Exception
objMain.objApplication.MessageBox(ex.Message)
End Try
By pressing this button XLS file be generated on C:\report\
Hope this will resolved the issue
Thanks
Kevin -
I updated my IPhone 3GS to the new 5.1 operating system and have since had a range of problems with not only my phone but also my IPad.
Programs (Safari, mail, messages) keep crashing, mail will not delete properly (some will keep popping into my inbox again for no reason!!!), slow, settings lock up etc. etc.
This only seemed to become an issue once I updated to ios 5.1 and funnily also affected my Ipad even though i hadn't updated the software yet. I have since updated the software on my ipad thinking it might help too but that only made things worse!! So I am not sure if it's an ICloud issue, but when i try to disable ICloud my devices lock up as well.
The battery life is also shocking!!
I have hard reset both devices, restored both devices, reset the setting and tried a whole host of other suggestions (like closing background programs) on this forum buit nothing works and i am tearing my hair out.
I looked in the phone and ipad log and there do seem to be low memory reports though i don't know why these are occuring now when they never have before??
I don't know if I can restore the old operating system (If I can please let me know how). The phone or ipad are not jailbroken.but you should have a backup in itunes.
Every time you sync your iOS device iTunes creates a backup. go check if its there, iTunes Preferences >Devices. and there you should see if you have a backup, and in case from which date the backup is.
And ofcourse you can get your icloud data back by just logging in with your Appleid under icloud in settings on the iphone.
But anyway, if the iPhone works when you restor it as new: try adding your backup, and see if the issue comes back. And experiment with your backup and try to work out what is causing the issue, my guess is that its some app! Good Luck! -
I have apple iPhone 4S upgraded to iOS 6.0.1 and everything was working fine suddenly my Wifi was not connecting and found the wifi on/off button is greyed out and to enable it I tried all resets but still my problem have not solved, still wifi is off
Same here.... No fix. Replacing is the option apparently and if you're out of warranty, you're SOL. That was as per the "Genius" at Apple.
-
iPad IOS 7.0.2 and Mountain Lion 10.8.5 Calendar colors do not match between computer and device. Problem did not exist until updated IOS arrived. Colours change of their own free will despite being corrected on both iPAD and MacBook Pro. Any answers?
Please do not post the entire messages log as it takes up unnecessarily a lot of space. It seems that there is a corrupt/nonfunctional file called
[email protected]nt.plist
Go to your hard drive, enter library, go into users, and go into launch agents and delete the thing above. Empty the trash and restart. -
In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.
Greetings,
Questions:
1. What version of the Mac OS are you running (Apple > About this Mac)?
2. What version of the iOS are you running (Settings > About)?
3. Do you use MobileMe/ iCloud or another server based sync solution like Google or Yahoo?
4. Do other changes to synced information like Address Book content sync successfully back and forth?
Based on your description it sounds like you have a 1 way sync issue. Events sync fine between the iOS devices and fine from the computer to the iOS devices but not from the iOS devices to the computer.
Try:
Backup your computer and iOS devices before doing anything else:
http://support.apple.com/kb/HT1427
http://support.apple.com/kb/ht1766
Ensure all the devices in use are fully up to date: Apple > Software Update / Settings > General > Software Update
Make separate backups of critical data:
Backup your computer Addressbook: http://docs.info.apple.com/article.html?path=AddressBook/4.0/en/ad961.html
Backup your computer iCal: http://support.apple.com/kb/HT2966
Reset syncing on your Mac: http://support.apple.com/kb/TS1627
Reply back if that does not resolve your issue.
Hope that helps. -
THIS IS JUST WHAT I AM ON ABOUT!THIS PROBLEM IS NOT OF MY MAKING ,IT HAS OCCURRED WHEN I DOWNLOADED FIREFOX 4NOW I AM SUPPOSED TO REGISTER,FILL IN ALL KINDS OF DETAILS,ETC.IT IS NOT MY PROBLEM IT IS SOMETHING WRONG WITH FIREFOX!
When I upgraded my Firefox I completely lost my key page with all the icons on it. How in the world do I get it back?
Maybe you are looking for
-
How to Use Temporary table on report builder
Hi community! Well, i'm trying to build a temporary table based report in Oracle Report Builder. in "After Parameter Form Trigger" I've placed a stored procedure that populate a temporary table and I've based my report on it. The problem is Report sh
-
Delete and Change options in Attachment list to be disabled
Hi Experts, I am working IS-U. In transaction EC20 when we see any print document, there is an icon for attachment at top. According to my customeru2019s requirement, user should only be able to attach the file, the options for Delete and change shou
-
It is like it opens another desktop, and I have to slide my desktop to the right to get to mozilla. Although, it is solely for mozilla and is not a true other desktop. I can not find how to open it normally like it used too. I do not have any access
-
I just updated my iPad 1 with 4.3.3. When I click on an app I downloaded it flickers and then goes back to the home screen. Does anyone know how to remedy this?
-
I have a little card game, when I run it the screen is in the top left hand corner of the screen? Is there any way I can make it start in the middle of the screen? Thanks, Johnny C