Conversion of Vector BLF format into LabView
Hello,
I am trying to import Vector Cantech BLF logging files into LabView. Does anyone know of a converter or process to do such a thing?
Thanks!
Good day!
National Instruments offer a series of Data Plugins to extend the data file acces capabilities of NI products such as LabVIEW, DIAdem and NI Data Finder. Among these dataplugins, there are two for Vector products.
Check the following links to learn how to use Data Plugins with LabVIEW:
http://www.ni.com/white-paper/11951/en
And the following two to download the relevant Data Plugin (I don't know which version of the MDF file you are using)
http://zone.ni.com/devzone/cda/epd/p/id/452
http://zone.ni.com/devzone/cda/epd/p/id/6568
Hope that helps!
Cheers.
Similar Messages
-
REGARDING CONVERSION OF SPOOL (XML FORMAT ) INTO READABLE FORMAT
HELLO EVRYONE, I AM GETTING MY SMARTFORM OUTPUT IN XML FORMAT ON SPOOL, I WANT TO CHECK IT SO I NEED THAT XML OUTPUT IN TEXT FORMAT OR ANY OTHER READABLE FORMAT, PLEASE REPLY ME. ITS URGENT.
THANKS & REGARDS,
VIMARSH B.Hi Check this link..
http://www.****************/Tutorials/Smartforms/OTF2PDF.htm
IT contains the code to convert smartform output to PDF File
Regards,
Sai Ramesh -
Conversion of 5.1 file into Labview 2011
Could you convert this VI from 5.1 to 2011
Thank you
Solved!
Go to Solution.
Attachments:
from 5.1 to labview 2011.vi 959 KBAttached as 8.2. Hope you know the password.
Attachments:
from 5.1 to labview 2011.vi 309 KB -
Hw can I generate XY graphs directly in a vector data format for printing ie pdf
A further question re. Printing of Graphs
There are many similar questions but none where the answers are acceptably adiquite or two or three were the link was broken,
"Developer exchange forums have been moved" and a pointer to the new
site, unfort it was hard to find or guess the rest of the link.
So here is my angle on this problem;
So far I have tried;
Using property node: "App. Printing.Default Printer" to select the printer to use, then
Using Report Functions to print controls;
New Report, to generate a new report reference
Set Report Orientation
Set Report Margins
Set Report Font
Set Report Header Text
Set Report Font
Set Report Footer Text
loop for each page
Set Report Footer Text, With page number
Append Control Image to Report, several times
New Report Page
Until the end of the last page
Print Report
Dispose Report
Initially using existing XY-Graph controls from the front panel. These
are on a page of a Tab control to hide these controls while not in use
and allow them to be hidden while generating the printout.
Unfortunately when this page is hidden any graph scales set to
autoscale don't, (normally don't need to and would otherwise be a waste
of processor time), resulting in graph plots going off scale or
becoming a line along the axis.
An issue is that what is printed appears to be read from the screen, so resolution is much
lower than required for for printing, resulting in rather pixellated
printed versions. These prints will usually be emailed, so tried the
pdf995 "printer driver" but the resulting pdf file size is rather large.
Currently trying Plot-XY on a much larger picture so as to get
adequate resolution for printing, however suspect this will result in
much larger pdf files and probably cause other problems.
The preferred solution in this case will probably be to generate print
output, instead of based on raster images (ie jpg or png), but on a
vector format, maybe via postscript or directly in pdf format.
Similar graphs currently printed from Excel via pdf995
(or OpenOffice) result in files around 20 kb per page. these can be printed at any size
(at least upto 64 times) without becoming pixellated, so assume these
are vector based.
Currently a page with 4 XY Graph controls uses around 40 to 45 kb per
page but resolution is poor and overcoming that may push file size up
to 150 to 200 kb per page, and the whole job can be 50 to 100 pages.
Are there any functions to generate XY graphs directly in a vector data format preferably in pdf or via PostScript format.
Cheers
DarrylHi Darryl,
I was able to reproduce the issue you were seeing, in which a report generation was taking up a large amount of space per page in a PDF utility. I found; however, using my attached VI (notice that it is set to *.png) and the CutePDF utility (free download at http://www.cutepdf.com/) I was able to get a per page size of about 10 KB. Also using the png I found that the image quality seemed to be quite high.
Please try incorporating this solution into your application and see if it reduces your file sizes.
Thanks and have a good evening!
Cheers,
Jonah
Applications Engineer
National Instruments
Jonah Paul
Marketing Manager, Embedded Software
Evaluate the LabVIEW RIO Platform! - ni.com/rioeval
Attachments:
print_XY Graph.vi 23 KB -
Help with reading information coming from a software into LabVIEW through Serial port
Hi,
I am new to LabVIEW and also an amateur in using RS232 for communication. I have this software that has these icons like speed increase/decrease, elevation up/down, start/stop. Now, when I click these buttons on the software, they perform the appropriate functions. For example, if I press start button, the signal must go through a serial COM port into LabVIEW to start the machine. How do I do that? How do I find what format the code word is when I press a button on the software? And how to decode the information to read whether the button pushed is start etc...? Any help would be appreciated.
V
I may not be perfect, but I'm all I got!That information would be in the programming manual for the device you're controlling. Unless you have a device that has no documentation or you cannot get the documentation that's the first place you should look. If you cannot get the documentation at all then you've got some reverse-engineering to do. To do this you will either need a serial port sniffer (a hardware device), or you can try to use a software-based port capturing program. On Windows PortMon is the most prevalent. This will show you how the port was configured (baud rate, stop bits, etc). Warning: the information is technical.
As far as how to get it running in LabVIEW, you should take a look at the serial port communication examples that ship with LabVIEW. The most problems occur in figuring out how to (a) terminate a write command, and (b) determining when to stop reading. For (a) this is typically done by appending a carriage return or linefeed to the command. This is device dependent. For (b) this is usually done by the byte stream ending with a character like a linefeed. Again, this is device-dependent.
You may also want to peruse this KB article: Serial Instrument Control Tutorial. There are also lots of tutorial on the internet for basic tutorials on serial port communication. -
How can I get an unsigned char string with nulls from a dll into LabVIEW 6i?
The following ethernet packet data is contained in an unsigned char * string returned from my dll (it's formatted on printing):
Received A 230 Packet On Adapter 0x008F0070
Ethernet Dest: 01.E0.BB.00.00.15 Src: 00.E0.BB.00.DD.CC Type: 0x8868
000000: 01 E0 BB 00 00 15 00 E0 : BB 00 DD CC 88 68 48 41 .............hHA
000010: 00 E0 BB 00 DD CC 80 B3 : 00 00 FF FF 00 02 00 01 ................
000020: 01 00 F0 18 FF 7F 7F FF : FF 7F 7F FF FF 7F 7F FF ................etc., etc.
However, when I read this string into LabVIEW 6i, I only get the following:
01E0 BB
Which is the data before the first NULL or 00 information. I found a "Remove Unprintable Chars.vi" but it
just sees more data before the above string, nothing after, as seen here: 5C30 31E0 BB.
Anybody have any suggestions for how to get the rest of the string? Is there something I can do to further reformat my dll? The dll I'm using is already a wrapper around another dll so I have some flexibility, but the bottom line is, the data I want is in the format of an unsigned char *.Excellent advice, this mostly works so I have some further questions:
I am just reading network traffic off my ethernet card right now, but here is what I get using my C program to test:
000000: 01 E0 BB 00 00 15 00 E0 : BB 00 DD CC 88 68 48 41 .............hHA
000010: 00 E0 BB 00 DD CC 80 B3 : 00 00 FF FF 00 02 00 01 ................
000020: 01 00 38 3C FF 7F 7F 7F : 7F 7F 7F FF FF 7F 7F FF ..8<............
000030: FF 7F 7F FF FF 7F 7F FF : 7F 7F 7F FF FF FF FF FE ................
000040: FE FF FF FF FF 7F 7F 7F : 7F 7E 7E 7F 7F 7E 7E FF .........~~..~~.
000050: 7F 7F 7F 7F FF 7F 7F 7F : 7F 7F 7F FF FF 7F 7E 7F ..............~.
000060: 7F 7F 7E 7F 7F 7E 7F FF : FF 7F FF FF FE FF FF FE ..~..~..........
000070: FF FF FF FF FF 7F 7F FF : FF 7F 7F FF FF FF FF FF ................
000080: FF 7F 7F FF FF 7F 7F FF : FF 7F 7F FF FF 7F 7F FF ................
000090: FF 7F 7F 7F FF 7F 7F 7F : 7F 7F 7F FF FF 7F 7F FF ................
0000A0: FF 7F 7F 7F 7F 7E 7E 7F : 7F 7F FF FF FF FF FF FF .....~~.........
0000B0: FF FF 7F FF FF 7F 7F FF : 7F 7F 7F FF FF 7E 7F FF .............~..
0000C0: FF FF 7F FF FF 7F 7F FF : 7F 7F 7F FF FF 7F 7F FF ................
0000D0: FF 7F 7F FF FF 7F 7F 7F : 7F 7F 7F FF FF FF FF FE ................
0000E0: FE FF FF FF 00 01 : ................
And here is what I get using LabVIEW to call the dll:
0015 00E0 BB00 DDCC 8868 4841 00E0 BB00 DDCC 80B3 0000 FFFF 0002 0001 0100 9600 7F7F 7F7E 7F7F 7F7F 7F7F 7F7F 7F7F 7F00 B405 4300 3300 0000 0000 0000 01E0 BB00 0015 00E0 BB00 DDCC 8868 4841 00E0 BB00 DDCC 80B3 0000 FFFF 0002 0001 0100 9600 7F7F 7F7E 7F7F 7F7F 7F7F 7F7F 7F7F 7F00 F405 1B04 0C04 0000 0000 0000 8000 0000 0000 0000 0800 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
The first thing I notice is that the first 4 bytes are chopped off, and after about 50 bytes, the data is corrupted until the sequence starts to repeat, but this time it starts with the missing 4 bytes and still corrupts after about 55 bytes.
I am expecting the data in LabVIEW to look very similar to the C data because the network packets I am grabbing are pretty consistant, only a couple bytes will vary between them, not the number I am seeing in LabVIEW.
Another side effect I'm seeing is that I can only run my labVIEW code once, if I try running it again it crashes with failures such as:
memory could not be "read"
For reference, I am opening and closing the network adapter inside the read function of my dll, but the pointer seems like it should be intact...
Attachments:
zListAdapters.vi 30 KB
listAdapters.dll 201 KB
Reading.dll 213 KB -
How to convert JAVA.SQL.DATE date in YYYY/MM/DD format into DD/MM/YYYY
i am using informix database which accepts date value in the form of DATE format......
the other part of my application takes date from the field in DD/MM/YYYY format...so i have to convert my java.sql.date in YYYY/MM/DD fromat into DD/MM/YYYY fromat of same type before inserting into db......
but using parse method in SimpleDateFormat class can get the result only in java.util.date format...
and also using format method can result only in string conversion........816399 wrote:
i am using informix database which accepts date value in the form of DATE format......Huh?
Maybe you mean Informix (fronted by JDBC) expects date values as java.sql.Date objects?
the other part of my application takes date from the field in DD/MM/YYYY format...
so i have to convert my java.sql.date in YYYY/MM/DD format into DD/MM/YYYY format of same type before inserting into db......I am not sure why you are talking about formats here.
There is no formatting inherent in a java.util.Date object
nor in a java.sql.Date object.
but using parse method in SimpleDateFormat class can get the result only in java.util.date format...
and also using format method can result only in string conversion........You can easily create a java.sql.Date object from a java.util.Date object.
String s = "31/12/2010";
java.util.Date ud = new java.text.SimpleDateFormat("dd/MM/yyyy").parse(s);
java.sql.Date sd = new java.sql.Date(ud.getTime());
ud = sd; // java.sql.Date extends java.util.Date so no conversion is needed -
How to Import Vector Identified Files into Photoshop Without Losing Quality
Hello,
I am creating a series of music worksheets on photoshop. I have created some music scores in a music writing software called Sibelius 7. It has the capability to export the sheet music graphics in the following forms: .pdf, .eps, .bmp, .tiff, .png, .svg .
However, I have tried to 'place' each of them into my photoshop file to see which one will work. But on saving the photoshop document as a .pdf with any of the graphics formats, the vector quality of the image has been lost, as it pixelates on zooming in. I have also tried to import an .svg file into adobe illustrator to save it as an .ai file and then import that into photoshop, but the image is again pixelated.
I don't really know what is happening, as I am essentially trying to import a file that is a vector (or at least does not pixelate on zooming) into photoshop, hoping for the same qualities to be retained, but it is being lost for some reason.
What should I do?
Thank you.Thank you for your reply. I opened the vectored pdf into illustrator. I tested illustrator by saving that document as a new pdf and the vector quality was still retained. I the following images, I copied and pasted the vector from illustrator into photoshop. However, on saving this new photoshop document as a pdf, it does not retain the vector format, as you can see with the pixelation that occurs when zooming in on an object.
Thank you. -
I have written a binary file with a specific header format in LABVIEW 8.6 and tried to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?
I can think of two possible stumbling blocks:
What are your 8.6 options for "byte order" and "prepend array or string size"?
Overall, many file IO functions have changed with LabVIEW 8.0, so there might not be an exact 1:1 code conversion. You might need to make some modifications. For example, in 7.1, you should use "write file", the "binary file VIs" are special purpose (I16 or SGL). What is your data type?
LabVIEW Champion . Do more with less code and in less time . -
Format Into File bug, repost#2
Dear All,
I have found a strange bug/feature in Format Into File. A 3 digit integer number argument (eg. 123) together with the format string " %04d" should result in " 0123" being written to file but instead fails with error cluster;
STATUS=TRUE
CODE=4
SOURCE=Format Into String in format_into_file_bug.vi.
I have appended a demo VI. Can anybody reproduce /explain this? My platform is WINXP Pro, LV6.1
Thanks
Tom Crane
Ps. *Please* can anyone tell me how to delete unwanted posts from this BBS? I find hitting the TAB key in IE -- a pretty innocent activity, which I constantly do without thinking results in multiple aborted posts, which I cannot see how to remove. My apologies for those posts.I have tried your demo using LabVIEW V7.11. Worked out of the box, no errors. I do not have LV V6.1 on any machines. Have you tried using the format into string and then the write characters to file? Instead of the format to file function?
Paul <--Always Learning!!!
sense and simplicity.
Browse my sample VIs? -
Format into string 16 bit signed integer
Is there any format specifier string for "Format into string", whereas the result is an I16 string?
My problem is when I use "%d" and the input string is 65535, the result string should be "-1".
Solved!
Go to Solution.Are you trying to get an integer out of an ASCII string (Scan from String) or turn an integer into a string (Format into String). You title and question seem to contradict each other.
Assuming you are trying to scan from string, it looks like you need to scan into a U16 and then use a conversion bullet to turn it into an I16.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
Scan I16.png 11 KB -
Read H.264 (.mp4) into labview. Anyone?
Hi all... So i am really tired of uncompresssing .mp4 videos with third part tools so that i can read them in using ni visions avi functions. Has anyone figured out a way to read mp4 files in directly to labview? I saw this DirectShow .NET LabVIEW SDK and thought it might work, but have not started playing with it yet. Anyone have any solutions? Thanks so much,
DaveHello Dave,
Unfortunately there is no current way of reading in other formats such as mp4 files directly into LabVIEW. They will have to be uncompressed in order to be compatible with the AVI Functions.
It is expected that upon the next version of LabVIEW and NI Vision, that they might start adding other video formats to be compatible. However, this has not yet been confirmed.
But I want to encourage you to voice your opinions concerning the need for this by posting it to the NI Idea Exchange.
R&D regularly checks this discussion forum to get feedback about NI products and particular features that our customers are requesting. The more posts about a particular topic, the greater the chance R/D will address them for a future release.
Huntington W
National Instruments
Applications Engineer
***Don't forget to give Kudos and Accepted as Solution where it is deserved*** -
Scalable Vector Graphics Format
Is there anyway to import Scalable Vector Graphics files into Keynote? This is a useful format for drawing programs in the open source world. For example, I have been using the Illustrator-like program, Inkscape, to good effect, but I cannot get the drawings I make into Keynote except as bitmaps.
Welcome to the discussions, Alexis.
I believe that "best" is subjective. It depends on what you want to do and how much you want to pay. For example, OmniGraffle is not as well known as, say, Adobe Illustrator, but for the difference in price, it may be worth your while especially if what you intend to do is create a few shapes every now and then for your presentation. You could also take a look at Purgatory Design's Intaglio.
The cool thing about both OmniGraffle and Intaglio (that's not true for Adobe Illustrator) is they both support LinkBack. What is linkback?
http://commons.ucalgary.ca/~king/projects/keynoteplugins/linkback/
Essentially, you can copy a graphic out of OmniGraffle or Intaglio and paste it into Keynote after installing the patch at the website above. Then, even after you've quit the program, if you decide that you need it to be a red-blue gradient instead of a red-black gradient, you just double-click on the graphic. The Linkback enabled program of your choice will then open and you will be able to EDIT that graphic fully. Make it larger smaller, change colors stroke whatever you want to do. When you SAVE that document, those changes are shown in Keynote so either of those could make a nice side app to use with Keynote.
Finally, if you just want to open a program, draw some pictures then export to a Keynote .key file, EazyDraw can do that. It's a little different from the other programs and some of it's conventions may not be familiar, but once you've gotten the hang of where everything is, it's fine to work with. You can even create separate layers in EazyDraw and have each layer output as a separate slide. -
Importing and displaying DXF files into Labview
Dear all,
Building an application for motion control, I want to import a DXF file into labview to be used as a template for the motion. For verification I would also need to display it. I cannot use ActiveX properly bcse I develop on Mac....
If you have any idea or experience on how I might do this, I will be glad to hear from you !
Thanks in advance !
Regards,To display (not parse) DXF files and other CAD file formats (PRT, SLDASM, SLDDRW, SLDPRT) I've been using an ActiveX container with the EModelViewControl object from the free SolidWorks eDrawings. Use the OpenDoc method to display the file in the container (see attached snippet).
- Philip Courtois, Thinkbot Solutions
Attachments:
eDrawings snippet.png 21 KB -
How can I read the trace data into LabVIEW for E5071B
HI
I am setting up the measurement using vector network analyzer (VNA) E5071B controlled by NI 488.2. How can I read the trace data into LabVIEW and display on the graph? If anyone having an idea or know well about this process please give me the suggestion, I will much appreciate it.
Many ThanksYou want to start with the driver
In case you do not know it, you can do the driver search in LabVIEW from Tools>Instrumentation>Find Instrument Drivers. You might also want to bookmark the Instrument Driver Network for information on what a driver is and how to use it.
Maybe you are looking for
-
Can i go back to iWeb 2.3 (.js in 2.4 doesn't let you do as you want)
After updating to iWeb 2.4 back during the summer i noticed one of the main changes was to iWebs "Scripts" / iwebsite.js file. It appears they have tried to limit 3rd party applications from working properly with iWeb. For instance, i use lightbox 2
-
HT1338 Apps wont install?
Hi, i have just noticed that when i go to the 'purchases' tab in the app store on my macbook pro, some of my apps havent installed. If i click 'install' next to these apps, it does the timer for a second or two then stops. Why is this?!
-
I'm trying to include alt text for my pdf images but the text is over the character limit. Is there any way to include longer alt text (for example through the use of an external file and a longdesc tag) in a pdf, or am I basically stuck with the ch
-
Hi All, When I'm using WriteBack and if 2 users inserted a record each at same time, what will happen? Can anybody suggest on this?
-
LV 5.0 and Set Operations
Hello all, I am a student at the University of Texas @ Austin and I have been looking through the LV 5.0 documentation for any documentation about Sets and/or Operations on Sets but cannot find anything usefull. Does anyone know if LV supports Sets a