Time in LabVIEW DAQ Assistant and Write LabVIEW file
I would be extremely grateful for your assistance in helping me understand the timing in LabVIEW.
Here are the details of the system. The data acquisition is done using a simple LabVIEW 8.2 based program consisting of a DAQ Assistant VI and a Write to Measurement File VI, which writes data in TDM format (binary with XML header).
The hardware consists of a 1042Q chassis that contains 2 PXI-6133 cards. 16 transducers are connected to these 8 channel cards. The chassis is connected to a PC by means of MXI-4 fiber optic cable and a PCI-8336 card.
I would like to sample all 16 channels simultaneously at 500 kS/s for 2 secs. or 1MS/s for 0.5 secs.
When the signals were sampled at 500kS/s x 2secs., the time column looks like this when opened on DIAdem.
Serial# Time Time(in secs. when displayed in number format with 8 decimals)
1 07/10/2007 00:09:42.1406 63351158982.14060800
14 07/10/2007 00:09:42.1407 63351158982.14069760
64 07/10/2007 00:09:42.1408 63351158982.14080000
109 07/10/2007 00:09:42.1409 63351158982.14090240
The time does not change from serial 1 to 13, and only at the 14th row does it change, after which it remai...why labview 8.51 change the variable name programatically and is there a better practice to create a driver for a modbus application using the DSC embeded driver in labview
let me give you a few backgound,
im a developer (labview dsc) i work in the industry and im working in a project we choose labview because it works very ok with other application so we picked up for this one,
the problem is that this application is this big:
150 variables per device
the variables include boolean, strings, double and some re-created variables,
most of this must be historized, so
the trouble i have is this one:
when i create a new device, i use a library per device i used to copy the variables and create a new modbus driver for the device, inside the library, im using modbus tcp, so
to do this faster i copy the variables and then in the variable editor i link it to the right library name, so this sound very good,
obviously this sounds very easy, but well theres a think that i cannot escape, i always have to update the .vi with the new tags and it take a long time,
but well thats my work,
well my problem begins when i return to my application with 4 devices and realize that it changes de variable path to another library i men it gave me the data of other device and not the right one, so thast the first one,
and well in a stand alone app this could not be good,
the second trouble i ve recently,
ive add the 5, 6 devices,
the variable went down
giving me bad values,
i test it with kepware opc and it gave me the right values so its a labview problem,
my question is:
is there a reazon for this,
what am i doing wrong?
or whats the righ...change a LabVIEW array outside LabVIEW and keep updated in LabVIEW
change a LabVIEW array outside LabVIEW and keep updated in LabVIEW
I am Interfacing a FrameGrabber with LabVIEW using a frame grabber
The memory managment of this FG allow you to allocate your own Array
and to give a pointer to this Array to the memory manager.
Then when you acquire with the frame grabber, the acquired image will
be directly accessible in your array.
1.I give to the FG memory manager a pointer to the Labview array
through a SDK Dll function.
2. I run the acquisition
3. I display the array
My problem is that the Array is allways displayed with it initial
val...can Labview 7.0 control an instrument without the labview driver?
hellow,i have an instrument which do not have the labview driver,its
output signal is RS232,so can i use labview7.0 to read the signal?
Another possible option is to use the Instrument I/O Assistant. It is
an interactive tool that generates Instrument I/O and response parsing
code for you. It is very helpful in establishing a connection and
helping parse instrument response data. It is pretty high level and
basic, so if you want to utilize any special serial VISA functionality
it may not go as deep as you would like - but it can definitely help
get you started.
...Re: Are Advantech products and its labview drivers good to work with Labview 7? #2
I have PCL 818L card. Where can I get the Labview drivers for the same
maybe this helps: <a href="http://support.advantech.com.tw/support/DownloadSRDetail.aspx?SR_ID=1-2HYBNJ" target="_blank">http://support.advantech.com.tw/support/DownloadSRDetail.aspx?SR_ID=1-2HYBNJ</a>
this: <a href="http://support.advantech.com.tw/Support/DownloadSearchByProduct2.aspx?keyword=LabView" target="_blank">http://support.advantech.com.tw/Support/DownloadSearchByProduct2.aspx?keyword=LabView</a>
MikeMessage Edited by MikeS81 on 05-07-2008 01:11 PM
...struggling how to set up 2 daq assist on labview in the same VI
hope someone can help me out
I am currently using the scxi 2345 with some SCC FT01 feed through modules, these are just to record some voltages from some transducers.
What I am struggling with is setting up 2 daq assist on a single VI, it is coming back with a error stating specified resouce is reserved and then a window saying learn more about automatic handling. How would I also have these 2 values logged on the same graph or chart?
Anyone any ideas how to set these up.
I ideally want to have 3 daq assist in the same Vi but not sure if this is ...Vista 64, Labview 8.5, DAQ drivers
Hello all, Does the latest Labview 8.5 support Vista 64, including all or most DAQ drivers?thanks,Azazal
LabVIEW 8.5 is a 32-bit application that is capable of running on (and has been tested under) 64-bit Vista.
The rest of this response gets the caviat of me not being a driver or hardware guy. I'm fairly confident though that we already have 64-bit kernel-mode components for DAQmx, and the user-mode components are still 32-bit since they are being used by a 32-bit application. I checked ni.com and the latest NI-DAQmx (8.7.1) does list support for Vista x64.
Thanks Jeff, Most helpful!Azazal
...What are my options for deploying DAQ assistant with a built LabView application.
I am currently working on a LabView application which I intend to build with LabView Application Builder and deploy on a couple of computers within the company. The application's end-users will need to create and edit DAQmx scales and virtual channels using the DAQ assistant once the application is deployed. It looks like we (or anybody else) is only licensed use use the DAQ assistant to create scales and virtual channels if there is also a valid license for LabView, LabWindows, or Measurement Studio also installed on the computer.
(See <a href="http://digital.ni.com/public.nsf/allkb/402D2EB45062FBC486256DD600634695" target="_blank">http://digital.ni.com/public.nsf/allkb/402D2EB45062FBC486256DD600634695</a> for the licensing restrictions message that pops up if you create a scale without having LabView, LabWindows, or Measurement Studio installed.)
Is there an option to buy/obtain a deployment license which would allow my end-users to use the DAQ assistant without purchasing a LabView, LabWindows, or Measurement Studio development system license which they would not otherwise need or use?
That link does not apply at all. The link was referring to using the DAQ Assistant with an evaluation (unlicensed) version of LabVIEW. As a matter of fact, you cannot use the DAQ Assistant at all with a built application. The only way to start up the DAQ Assistant ...Re: LabVIEW and LabVIEW RT?
I will try to illustrate it with an example since it all will depend on the type of application you would like to implement. Let's say you would like to implement an application where you log data, maybe exchange data with databases and you acquire a bunch of data points at a time not performing any type of control and where high determinism is not needed. In this case LabVIEW for Windows work great. If you on the other hand would like to implement a closed-loop application where you need high determinism and reliability and will acquire data point by point you would use LabVIEW RT which is an add-on to LabVIEW. I.e. you need LabVIEW + LabVIEW RT when developing an RT application.
...If i have a labview .vi file(and labview) but i want to open it in a computer that doesn't have labview, how would i do it??
Okay, i have a made a labview program and save it as.vi.
Let's say that it is a program that when opened and you hit run it shows a sine wave.
Now if i wanted to open up the program without Labview, ( i don't need to modify it) on a computer that doesn't have labview. How would i go about doing this??
...DAQ assistant with AT-MIO-16E-2 board LabVIEW 7.1
I'm just trying to get started with some simple data acquisition, to learn the basics about it and hopefully be able to do more advanced stuff later.
I'm running LabVIEW 7.1 on Windows 2000, with an AT-MIO-16E-2 board connected to a NI TBX-68 which currently only has one thermocouple connected on channel 0. When I open MAX, I can see the board and if i press on test panels, i'm able to see the channel and it reacts if I touch the thermocouple. Therefore that seems to be all right.
But then if I try to put in the DAQ assistant into a VI and try to set up a task, it always says that 'no supported device could be found'. Does anybody around here know how to go about solving this problem?
Thanks a bunch,
did you try to program this function by yourself with the DAQmx vi? Maybe this works.
thanks for your quick reply! I don't really know how to go about programming it in the DAQmx vi... can you give me some advice about how to do it?
here is a simple example. Maybe you can change it for your use.
Thanks Mike. Can you save files for older labview versions in labview 8? I'm running 7.1 so can't open it up. :S
sorry for that, here is a picture.
I am a new user of LabVIEW.
I have been assigned to acquire a signal from a sensor at a car.
However, all these signals must be filtered.
But I am not sure, what type of filter most powerful. Besides, as I
know, different type of signal needs differenct type of filter.
Anybody can help me to solve my problems.
Your kind cooperation is highly appreciated.
> Hi ALL,
> I am a new user of LabVIEW.
> I have been assigned to acquire a signal from a sensor at a car.
> However, all these signals must be filtered.
...Windows 2000 "Lock Computer" crashes DAQ drivers in Labview
I have a life test application I wrote some time ago in labview 6.1, which =
has since been converted to labview 7.1. The system has a PCI-6031E and PC=
I-6733 running in a windows 2000 computer. I originally wrote all the DAQ =
stuff using traditional DAQ and I would like to not rewrite it all in DAQmx=
The system has to run 24/7 to life test some UUTs.<br><br>My problem is =
that my IT department wants security on the computer so anyone can't just c=
ome up and have network access under some other username, so they are askin=
g if I can come up with a way to secure the co...Daq assistant express vi freeze error Labview 7.0 express
I'm using Labview 7.0 express software. I cannot use DAQ assistant because it freezes when I click on it and drag it to the labview page. I have not connected any device so there is no interference. While all other express vi's work DAQ assistant vi doesnot work. Could you please help me?
Thanks for this quick reply;
I checked it and DAQ-mx is already there but the freezing of the DAQ assistant still contiues. I can start the intrument assistant but the DAQ assistant vi does not work. It locks up LABView 7.0 when I try ...Re: "Hi,I'm having problems controlling the Agilent E4422B Signal Generator with Labview. When using the Labview driver functions such as initialize instrument I always get an Error -1074135040
Attached please find the files containing all the information concerning my attempt to control the Agilent E4438C. Hope you can make sense of it and help me.
If this driver supports multiple instrument models, then you will probably have to set the model in the default settings in MAX.
Ray FarmerMessage Edited by...Do you require device drivers (ie Gaili card drivers or ESD CAN bus drivers) just to build a LabVIEW application
I have be told a number of different things in regards to this. Some say that you need the device drivers to build and some say you do not. I think that there are no interaction with the device drivers to build the application, but if there are library files then all you need is the library files. Any comments. ThanksRob
robat wrote:I have be told a number of different things in regards to this. Some say that you need the device drivers to build and some say you do not. I think that there are no interaction with the device drivers to build the application, but if there are library files then all you need is the library files. Any comments.ThanksRobWell if the device driver consists of DLLs you won't be able to compile and therefore link and build the application without those DLLs being available on the computer you want to do the build.But your question does by far not contain enough detailed information to give more specific advice.Rolf Kalbermatter
...Can you tell me the purpose of measurement & automation explorer software & NiDAQmax driver software, & LABVIEW software for DAQ system?
I am having basic doubt related to all the softwares mentioned above.
Can you descibe it for me?
NDAQmx is the driver software that lets you interact with the DAQ hardware using highlevel tools. It also lets you explore, configure, and test your measurement hardware. It includes NI Measurement & Automation Explorer, DAQ Assistant, and and LabVIEW SignalExpress LE software which allows you do basic measurements without programming.
<a href="http://www.ni.com/dataacquisition/nidaqmx.htm" target="_blank">http://www.ni.com/dataacquisition/nidaqmx.htm</a>
It can be downloaded freely and comes with any DAQ hardware from NI.
LabVIEW is a development system that allows you to write programs that can do anything you want, even interact with your hardware via the NIDAQmx drivers.
<a href="http://www.ni.com/labview/" target="_blank">http://www.ni.com/labview/</a>
What do you want to do? Please read the details at the above links and let us know if you have any more specific questions.Message Edited by altenbach on 09-12-2007 09:07 PM
I wanted to develop a USB based DAQ system for temperature measurement (RTD/Thermistors as sensors).
Currently i am having NI PCI 4351 alongwith necessary accessories. I tried to configure one channel for thermistors using Measurement & automation ex...Installation of LabView 8 after LabView 6
Good afternoon everybody,
I've got a big problem with LabView. The fact is that I begin with this software...
I've just installed LabView 8 on a computer where LabView 6 was installed. Once the installation finished, I tried to launch a VI That was developped under the old version.
The problem is that two VI can't be found :
- AI Sample Channel.vi
- AI Acquire Waveform.vi
Therefore, I can't use anymore the program that was working before... What is the solution to get everything ok please ?
Thank you very much !
the VI will now...Labview.lib was not calld from a labview process
I am working with our labview programers to create a Labview DLL that will be called from Labview and VB6. The code works fine with Labview but I keep getting Fatal Error: Labview.lib was not calld from a labview process. I have checked the versions of development software and the runtime versions that we are using and they matche 8.0.1. We have also preformed a mass compile of the DLL with no change.
Are there any other steps that we can take to solve this problem???
<a href="http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument</a> Just to make sure you know of this article, I hope its a new one and else we can look further.<a href="http://www.groupsrv.com/computers/about566915.html" target="_blank">http://www.groupsrv.com/computers/about566915.html</a> Another discussion regarding the same error message.<a href="http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument" target="_blank"></a> Message Edited by andre.buurman@carya on 06-04-2008 08:02 PM
<a href="http://forums.ni.com/ni/board/message?board.id=170&message.id=127655&query.id=62975#M127655" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&message.id=...Calling a LabView DLL from a Labview VI
Hi, I have a vi that is calling a Labview DLL and they both have a same
subVI. If I drop that SubVI into the block diagram first then drop in the
Call Library Function Node, when I run the VI, the DLL would not work and
it did not give me any error. Does anyone know how fix this problem with
Labview? or is there some configuration that I can force the all of that
SubVI points into the DLL.
Thanks for your help,
...how to make my labview codings as a package for labview
I made drivers for some thrid party instruments, which is compatable for serial port and Ethernet. I have several vi's for that i cant able to share these vi's to my friends.
i just want to build one package of my driver, also i want to install these package to labview user library.
Tell me some good suggestion for this.
With warm regards,
The easiest way is to do a development distribution (File>>Save As.
If your needs are more complex, you can also try <a href="http://jkisoft.com/vipm/" target="_blank">VIPM</a>. I don't think the free version can do this, but it's worth it just for getting the OpenG code.
where i can find this development distribution ? is there option available in labview?
If you re using LV versions > 7.x, you can create an LLB by using the option Save As... in the Files menu.
You have to just open the top-level VI of that driver (or something) & go on to build the LLB. All other VIs will get added/bundled into it automatically. :smileyhappy:
In LV 7.x, I think it ll be under the Tools >> Build Source Distribution menu...
email@example.com wrote:Hello NI,
&nb...Driver for 7.1 LabView only new driver 8.0 availible
I just want download a LabView driver for the HP 8561E spectrum analyzor. I could only download a version for LabView 8.0. Is there an option for older driver Version 7.1
with best regards
According to NIs instrument driver pages the 8561E is covered under the 8563E (see this page for verification):
<a href="http://sine.ni.com/apps/we/niid_web_display.drv_results?p_app_area=&p_man=hewlettPackard&p_keywords=8561E&p_inst_type=&p_env=&p_drv_type=&p_int" target="_blank"&g...Error Code "1097.....this might corrupted LABVIEW's memory.........." appears after exit the labview and re-start labview
I have a probelm when I use the "tool/import shared library(.dll)" wizard to generate the API from C.
The API works correctly when I complete the wizard, but after I exit labview and re-start labview to run the API again. The error 1097 code "......this might corrupted LABVIEW's memory.............."appears.
The only solution now is to re-generate or update the wizard to generate the API.
I try to find the answer in
<a href="http://digital.ni.com/public.nsf/allkb/58596F5D41CE8EFB862562AF0074E04C?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/58596F5D41CE8EFB862562AF0074E04C?OpenDocument</a>
The paragraph in above article shows
"LabVIEW does not crash until it is closedThe most likely problem is that the DLL function being called has corrupted th...labview 8.5 to labview 7.0
i am on my labview working with 8.5but at work, we only have labview 7.0.what would be my best way to get my vi to be 7.0?thank you so muchMessage Edited by krispiekream on 06-19-2008 03:59 PM
In order to go from LV 8.5 to LV 7, you will need to have LV 8.5 (save it back to 8.0), LV 8.0 (save it back to 7.1) and LV 7.1 (to save back to 7.0).
If it's only a few small VI's, you can post them on the forum and ask someone to do the saves for you. (Best if you do the save back to 8.0 and post that in order to eliminate 1 of the 3 steps for whoever will do the rest of the conversions for you.)
yeah. great.. i did all those steps.i went from 8.0 to 7.1i dont have labview 7.1 so i can't go to 7.0.can someone please help me.
Please try the attached to see if it works with LV7.0
Hopefully it does!!
thank you so much. i'll try it right now.
hi there,i somewhat got it to work.but i am having this error everytime i try to save it.does anyone know how i can get rid of it?<img src="http://forums.ni.com/attachments/ni/170/334653/1/untitled5.PNG"> Message Edited by krispiekream on 06-24-2008 06:02 PM
You might want to look into <a href=&...