Reading LabVIEW comments with external software
Is there a way to read comments in a LabVIEW block diagram from external program like C#, VB, etc...
This will be useful for documentation.
Short answer: no.
Long answer: yes, but you might need to do some work.
The first option is simply to read the VI file. The problem with that is that a) it's compressed and b) you have to know the structure, which is not publicly documented.
The second option is to use the VI server properties to read the comments, but I'm fairly sure they're not exposed through LV's ActiveX interface.
Which brings you to the third option, which is to write a VI which will get a path to another VI and then use the VI server properties accessible by enabling scripting to return the text in the comments. You then compile that VI as a DLL function or a function in a .NET interop assembly and call it.
Note that this requires accessing properties which might not be available in the run-time engine, so you might have to actually do this through LV itself (e.g. by opening an ActiveX connection and running the VI in LabVIEW.
Try to take over the world!
Similar Messages
-
Result recording - Integration with external software
Hi,
Inspection is done using the external software & the results are stored in the external database.
How can we transfer the inspection results in QM Result recording?Hi,
For the upload to the SAP-System, the function module BAPI_INSPOPER_RECORDRESULTS will be used with the following mandatory input parameters:
- Inspection lot number
- Inspection operation number
- Inspection point number
- Partial lot number
- (SAP-)batch number
- Characteristic results (for characteristics with summarized result recording)
- Single results (for characteristics with original result recording).
The transfer between subsystem and QM is done asynchronously. The mapped result data will be send as IDoc to the SAP system, or via direct call of the BAPI_INSPOPER_RECORDRESULTS via RFC.
If the data is send as IDoc, the BAPI-ALE interface must be setup to process the BAPI_INSPOPER_RECORDRESULTS at receipt of a new IDOC.
Kindly contact with your ABAP'er for further process.
Thanks & Regards,
Srinivas.D -
Reading digital port with external clock at maximum speed
I have a PCI-6509. I am programming a fast loop to read 32 bits values from the digital input using an external clock ( injected into one of the card pin inputs )
The environment is Windows2000 + Visual C++ .
basically I am doing
DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
DAQmxErrChk (DAQmxCreateDIChan(taskHandle,"Dev1/port0:3","",DAQmx_Val_ChanForAllLines));
DAQmxErrChk (DAQmxSetSampTimingType(taskHandle,DAQmx_Val_ChangeDetection));
DAQmxErrChk (DAQmxCfgChangeDetectionTiming (taskHandle,"/Dev1/port5/line4:4", NULL, DAQmx_Val_FiniteSamps , sampsRequested));
DAQmxErrChk (DAQmxStartTask(taskHandle));
getSystemTime...
DAQmxErrChk (DAQmxReadDigitalU32(taskHandle,-1,-1,DAQmx_Val_GroupByChannel,data,sampsRequested,&sampsRead,NULL));
getSystemTime...
I pass a data buffer big enought to hold the number of samples I am requesting ( for example 10000 of uInt32 ).
It works fine. I get my values but the speed I get is only around 10 KHz.
I print the system time before and after the call to DAQmxReadDigitalU32 as you can see from the above code.
This makes no sense because my external clock in ,"/Dev1/port5/line4:4" (as selected on the ChangeDetectionTiming call) runs at 2.0 MHz.
Could someone tell me what parameters I have to pass to this sequence of NI DAQ functions calls in order to really read at the speed of my external clock?
many thanks in advance,
Roberto AButer.
Note :
I am going desperate with the web pages, documentation , online helps and the pletora of products and so on.
I did pay to NI a considerable amount of money for the card , the labview software etc and I just want to do the simplest 20 lines C program to read my digital signal at the speed is being injected. Should that be that difficult????Hello caca,
the board you are using is specified as a static IO board. That means it was not constructed to do highspeed DIO operations.
You cannot use a hardware clock to time your input and output
operations, so you have to use a software timing or, as you chose, the
change detection interrupt. But the maximum speed you can archieve
doing this, is somewhat limited of course.
Check this thread for some more information.
Ingo Schumacher
Systems Engineer Sound&VibrationNational Instruments Germany -
I'm on Vacation with no access to my Mac. But had tried Sync. My software update is iOS 6.0.1. I've tried another WiFi network. I read your comment of deleting Apps for stuck update. So removed all Apps! Can't even install Free Apps. Now using my Kindle
Purplehiddledog wrote:
I do backup with iCloud. I can't wait until the new iMac is available so that I can once again have my files in more than 1 location without needing to rely solely on the cloud.
I also rely on iTunes and my MacBook and Time Machine as well as backing up to iCloud. I know many users know have gone totally PC free, but I chose to use iCloud merely as my third backup.
I assume that the restore would result in my ability to open Pages and Numbers and fix the problem with deleting apps, but this would also mean that if my Numbers documents still exist solely within the app and are just not on iCloud for some reason that they would be gone forever. Is that right?
In a word, yes. In a little more detail.... When you restore from an iCloud backup, you must erase the device and start all over again. There is no other way to access the backup in iCloud without erasing the device. Consequently, you are starting all over again. Therefore, it would also be my assumption that Pages and Numbers will work again and that the deleting apps issues would be fixed as well.
If the documents are not in the backup, and you do not have a backup elsewhere, the documents could be gone forever. -
Sequence multiple PDFs to activate comments with Adobe Reader
Hi all!
At first i would say: Sorry for my bad english - iam german.
Iam a System Administrator and one of our Business customers have multiple old PDFs (about 90GB - yes 90 Gigabytes!) and he bought Adobe Acrobat 9 Pro last month and all other Workers in his Company are using the Reader 9.
He want all 90GB of his PDFs to be enabled for commenting with Adobe Reader. But there are some one hundereds of thousands of PDFs - so iam looking for a sequencing solution to activate the commentary function in every PDF. I havent found this function in the sequence Function in Acrobat.
So is it possible to sequence it or do he has to activate it manually?
Thanks for any answer!
Greetz, MartinLiveCycle Reader Extension requires you purchase or own a server. You
must know how to run the server, then you must purchase the product for
use in the server. It is not cheap. But it can handle 90 Gigs of pdfs.
Be ware that the size of the pdfs is not relevant. When pricing the
software you probably need to know approximately how many pdfs you need
to prepare and how often.
Mike -
Reading RFID tags with LabVIEW
Is there an RFID reader which is compatible with LabVIEW (preferably from NI)?
I'm looking into tagging test samples and then reading sample data with LabVIEW. Has anyone done this?
I'm just starting my research so if you can give me some pointers or information about RFID in general it would be useful (costs, suppliers, caveats, and so on).
Thanks,
DaveHi Dave,
We have a DevZone tutorial on The State of Radio Frequency Identification (RFID). Take a look through this, it has a lot of information. Also, scroll down to the bottom of this page, it discusses what NI products can be used for RFID reading. We also have a Case Study called "Using National Instruments Software and Hardware to Develop and Test RFID Tags".
Hope this helps a bit!
Regards,
Claire Reid
National Instruments -
Scanning with external DMM with Agilent 34970A using Labview
Hi,
I am a relatively inexperienced user of Labview. I have written a VI to
scan several channels on a 34970A using the 34901A multiplexer module
to take voltage readings. I want to use a more accurate DMM than the
internal one however so I have hooked up a Fluke 8840A to the agilent
and I want the scanner to simply switch between the channels while the
fluke actually takes the voltage measurements. How do I modify my
existing VI so that it uses an external DMM? One of the driver VI's is
'configure external instrument' which i assume is the obvious option
but i'm not sure where to insert this to modify the VI.
Thanks
TomWhat you do kind of depends on the capabilities of the external DMM and how fancy you want to get. If you at the section called 'Scanning With an External Instrument', you'll see how the connections can be made for an automatic scan. The 34970 will issue a trigger to the external instrument and when the measurement is complete, the instrument will send a signal back to the 34970 to close the next relay in the scan list. If you can do this, then the Conf Exteranl Instrument would replace the Conf Scan List and Conf Scan functions in the Advanced Scan Example. I'm not sure about the Conf Trigger but I suspect you would need to set slightly different parameters for that. The Read function would have to be replaced with a read of your external instrument. Some additional functionality may have to be added to take a reading after each relay closure if the DMM cannot save a series of measurements.
I had to once use an external instrument and didn't do any of this. The external instrument did not have external triggering or a an output that could be used to advance the scan so I just used the HP34970 Switch function to close a relay exclusively and a dmm read inside a for loop. I created an array of channels and the for loop auto-indexed them. This was simpler to program but the scan took a bit longer than what is described in the manual.
Message Edited by Dennis Knutson on 08-31-2006 07:47 AM
Attachments:
34970 with External DMM.JPG 24 KB -
When printing a signed document with Adobe Reader, the comment icons appear. How do I prevent this ?
When printing from Reader, select Document instead of Document and Markups:
-
Link labview with other software which can do hydraulic simulation such as Nanas Fluent.
Hi all:
I currently want to exchange data between labview with Ansys fluent. That is: sending flow boundary condition and initial condition from labview to hydraulic simulation software (ansys fluent), and get simulation result back to labview from that software.
I didn't find any modules online to link labview and fluent together. (There are others such as Labview Solidworks module)
Is any one know how to link labview to any software which can do hydraulic simulation?
Thank you very much. :-)
-BowenDo you know of any other programs that exchange data with Ansys? If so how do they do it? ActiveX is a common way for communicating between LabVIEW and other programs, is this an option?
Justin Parker
National Instruments
Product Support Engineer -
Read LabVIEW shared variables ( network variables?) with VB6
Hi, i need to read some LabVIEW shared variables (network variables?) using a VB6 program.
Is it possible?
I think that yes, using Measurement Studio for VB6 but I don't know how and I haven't found information in the Measurement Studio for VB6 help file
Could some one send me a program example or explain me how it is possible to read LabVIEW shared variables fromVB6?Hello quintella,
To be able to interface with LabVIEW
Shared Variables with Visual Basic 6 you will need to use NI Measurement
Studio, which ships with examples on how to use VB6 with DataSocketing. Apart
from Data Sockets, if you are using Measurement Studio 8.1 or higer, with the
Network Variable Library introducted in NI Measurement Studio 8.1, you can read
and write to shared variables in ANSI C, Visual Basic .NET or Visual C#. (http://zone.ni.com/devzone/cda/tut/p/id/4679)
Here you have two links where you can
find more information about how to use the datasocket option. In addition, there
are several examples included in Measurement Studio with Network Variables and
Datasocket.
http://forums.ni.com/ni/board/message?board.id=230&message.id=2945&requireLogin=False
http://forums.ni.com/ni/board/message?board.id=230&message.id=3324&requireLogin=False
Regards, -
We are Tektronix customers and with Labview
7.1/MAX everything was working ok with their software to communicate
with the oscilloscope from the PC. However, since upgrading to Labview
8.0 on system startup (XP) we get a message:
>
>"Tekvis.3
>
>The iInstalled visa32.dll is not a Tektronix
version of VISA. Either disable this program by removing it from the
startup directory of re-install TEKVISA."
>
>Obviously we would like to carry on using
Labview 8.0 and MAX, but also the Textronix software to grab
oscilloscope measurements without having to swap between these two file
versions. I re-installed Tektronix software but then MAX stopped working
from the NI suite, hence no devices could be seen. I presume that NI
will not be re-writing their new visa32.dll file to be backwards
compatible, will Tektronix be releasing a newer version of the software
that can use the new visa32.dll file? Or perhaps a visa32.dll file
compatible with MAX etc?
I have contacted Tektronix but I got this: "Unfortunately I only have LV 7.1 and, like you, it seems to work fine
for me. A collegue of mine tried this out with abview 8 and didn't seem
to have any problems. Have you contacted NI regarding why TekVisa works
with Labview 7.1 but not version 8?
>Hope you can help,
>
>Best regards,
>
>
>Daniel HillHi DaniBCN
What versions of software are you using? LabVIEW 8 but what about NI-VISA? . You can download the lastest versions from ww.ni.com/downloads.
What scope are you using? What bus (GPIB, ENET, USB)? Here is a great resource to comunicate with tek scopes
http://digital.ni.com/public.nsf/websearch/202E14463D2D819F86256C39005D7828?OpenDocument
I know NI has a great relationship with tektronics (tek has a LV version inside the open scopes, NI has develop a specific version of SignalExpress for Tek scopes)
Hope it helps.
Javier Gutiérrez
NI Aplication Engineering -
How do I know what OS I have on my iMac? I've used it as a PC for years and need to switch over but I may be out of date with current software. I think I read Lion somewehere....? OS 10.5.8
Click on the Apple icon at the top left of your menu bar, then About this Mac.
OS 10.5.8 is Leopard. Lion is 10.7
As for upgrading:
Start by checking if you can run Snow Leopard:
Requirements for OS X 10.6 'Snow Leopard'
http://support.apple.com/kb/SP575
The OS 10.6 Snow Leopard install DVD is available for $19.99 from the Apple Store:
http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
and in the UK:
http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
but nobody knows for how long it will be available.
When you have installed it, run Software Update to download and install the latest updates for Snow Leopard to bring it up to 10.6.8, or download the combo update from here:
http://support.apple.com/kb/DL1399
Check via Software Update whether further updates are required.
You should now see the App Store icon, and you now need to set up your account:
http://support.apple.com/kb/HT4479
To use iCloud you have to upgrade at least to Lion, but some functions are only available in Mountain Lion:
http://support.apple.com/kb/HT4759
You can also purchase the code to use to download Lion (Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM, running the latest version of Snow Leopard), or you can purchase Mountain Lion from the App Store - if you can run that:
http://www.apple.com/osx/specs/ -
Enabling Commenting with Reader for multiple files
Hello,
I am trying to enable a great amount of files for commenting with Adobe Reader 9. I know how to enable each single file through the comments menu, but doing this for 1000+ files could take me quite a bit of time. Is there any way to automatize this process? Somehow I can't find that option through batch processing... Thanks!Specifically, NO, with Acrobat. Adobe sell a high end product, once
called LiveCycle Reader Extensions but I've lost track of the name,
which will do this - hence the absence in Acrobat.
Aandi Inston -
Read/Write speeds with Airport Extreme and USB Hard Drives
Anybody know how fast the read/write speeds are with a USB hard drive and the Airport Extreme Base Station?
My Setup
I have a 17 MBP (2010) and a 13 MBP (2011) - no SSD's
MBP generally connect via 802.11n 5Ghz with a very strong signal
Gigabit connection on a Windows Desktop
I have a variety of external drives (7200, 5400, Drobo) at varying capacity (320GB, 2TB, 5.6TB)
Goals
Backup: Time machine
Backup: File copies of pictures and home videos (greater than 1GB files)
Backup: Crashplan
File sharing: Aperture libraries--not sure if that is possible or practical. That is something that I need to research further...but on the off chance people have experience with it.
Thanks!ishjen wrote:
Anybody know how fast the read/write speeds are with a USB hard drive and the Airport Extreme Base Station?
Welcome to Apple's discussion groups.
Apple's AirPort base stations aren't known for fast file serving, but for most purposed they're fast enough.
I can't comment specifically on your Aperture plan, but with some software it's important to avoid simultaneous access by more than one user. -
Labview Chromatograhpy and Willstein software
I am a student who is new to labview. My college purchased a program
called Chromatography toolkit from Willstein software several years
ago. I am told that it worked great with our computer and G.C. but
now that we have moved to a new building and have not used the
software for several years, nothing seems to work. After installing a
new version of the program I receive an error message saying "The MIO
system requires and integer input." I have been unsuccessful in
finding the cause of the problem, all the settings seem right. Does
anyone know how to contact Willstein Software? The email and phone
listed on their website do not seem to be current.
If anyone has experience with this software any help would be greatly
a
ppreciated. Or if anyone has any experience with other
chromatography software preferably for Labview any comments would be
great.
Stephen YopsWillStein is an NI Alliance Member. They can be reached at [email protected]
Maybe you are looking for
-
Hi Team, We have Configuration manager 2012 SP1 and we have requirement to migrate winXP\Win7\Win8\Win8 systems to Windows 8.1 update 1. We are looking for supporting replace, refresh and baremetal OS deployments. Can anyone give some pointers for th
-
Varient condition is not picked in the pricing procedure.
Dear Friends, I am creating a sales order where, I am getting a message that VA00 condition is not determined. I analyze the pricing,and find out that the condition record is not determined by the system. Message number is 106. I
-
Db link - invalid username/password error
hi i created a connected user public db link, when i try to use it i get error message invalid username/password here is my set up: tnsnames.ora --remote db DWHTEST= (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = dwhtest.be)(PORT = 1521)) (CONNECT
-
1KEJ : Runtime Error (SAP note 725478)
Hello All When I run 1KEJ in my test system it gives a run time error both in forground and background mode (it gets cancelled). I have done settlement for only 1 Order and WIP is also there for only 1 Order. Since I am running 1KEJ for first time I
-
All cd's are seen as blank cd's
I'm not exactly sure what the issue is and every time new information is discovered, it gets even weirder. So I put in a blank cd. pcmanfm shows a blank cd. So far so good. I burn a cd and it's successful. The cd ejects and I put it back in to test i