LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hyper terminal in Labview

Attached is the hyper terminal setting. do you know any sample code in LabView to emulate the vt100,
I was able to write/read using the basic read and write but once I write it just keep on sending, i have to terminate the write to stop from writing.
And the read would only read few letters at a time then it erase it. I modified the code to add while loop in write and the read sud vi.
My plan is to write to the DUT then then read from the DUT. Once this works, I could write again to the DUT to execute some instruction.
 
Thanks for your help.
 
0 Kudos
Message 11 of 18
(2,392 Views)

Please upload your pictures as real .png files.  What you uploaded was a bitmap that was just given a .png extension.  A .png file is much, much smaller than a .bmp.  You uploaded a file over 2 MB which eats up space on the forum servers and takes longer to download.

Smiley Sad

0 Kudos
Message 12 of 18
(2,380 Views)

I do not know of any VT100 emulation software written in LabVIEW. Writing is not much of a problem but reading is because of all of the control characters embedded. It would be similar to creating a browser in LabVIEW to parse all of the html codes and format the screen correctly. What I used in a TestStand app was a program called HyperAccess from Hilgraeve, the same people who wrote Hyperterminal. HyperAccess has an ActiveX interface. I had some problems getting the HyperAccess object created in LabVIEW and since I needed it for TestStand, did not pursue it very far.

You can reattach the image from Hyperterminal when you save it in the correct format but I believe you have problems in your LabVIEW code based on your description. You can go ahead and attach that but you should also spend some time reading about the VT100 formatting and see if you want to attempt recreating that in LabVIEW. If you want to try HyperAccess, I can provide a dll that I use in TestStand. You might be able to use this with a Call Library Function Node.

0 Kudos
Message 13 of 18
(2,364 Views)

Thanks for your help, I will try the hyper access, I tried to modifiy the advance serial read and write VI but I can't find away to set it up like hyper terminal like you said wrting is easier  and reading is a lot more difficult. Due to the wildfires here is San Diego i just getting back to this porject, thanks again. I will ask for your dll files once I look at the hyper access.

I used snagit to capture the picture and change the extension to .png you are right it takes a lot of space in the forum. i will probably try to put it a .pdf since most of the capture was done in jpeg or bitmap files.

0 Kudos
Message 14 of 18
(2,318 Views)
I find the best method is to use MSPaint.  Use prtscrn to capture the whole screen or alt-prtscrn for just the active window.  Paste that into an empty paint window.  I set the original picture attributes small so that when pasted, the picture attributes enlarge as necessary without any excess white space.  Then do a save as and you can select .png as the file type rather than the default .bmp bitmap.  This works in Win XP.  I think the version of Paint in Win2000 did not have the .png option.
 
I'm not familiar with snagit.  I guess its default file format is bitmap.  Maybe there is a way to change that.  Changing the extension just fakes things out.  It doesn't change the inherent file format.  I had never used .png file formats before under I became active on the forum.  Having discovered them here, I'm impressed with how small it makes the file and keeps it true for what what I call hard graphics with sharp colors and lines.  It is even smaller than jpegs, and doesn't suffer the compression artifacts you see in jpegs.  Jpegs are fine for photographs, but for clean graphics, pngs' are better.  I try to avoid .bmp's as much as I can now.  Smiley Happy

Message Edited by Ravens Fan on 10-25-2007 08:03 PM

0 Kudos
Message 15 of 18
(2,306 Views)

Thanks, I will copy the setting that I used in hyper terminal in .png format. I think that snagit will also save it in .png format. I used snagit for presentation because it it easier and friendly to use and does not suffer on compression, basically what you see on the screen is what you capture. thanks much

 

0 Kudos
Message 16 of 18
(2,299 Views)

Dennis,

        I'm using hyperAcces instead of hyperterminal. Do you have a VI for use with hyperAccess or dll?

0 Kudos
Message 17 of 18
(2,264 Views)
I had to go back and look at it since it's been a while since I had to use it. The dll itself probably won't help. As I said, I'm using this in TestStand directly and not really in LabVIEW. As such, it requires an input parameter that is the TestStand engine and then after creating the HyperAccess object, writes the reference information to a couple of TestStand variables. Here's the source code though. Sorry if this does not work for you.
0 Kudos
Message 18 of 18
(2,252 Views)