I am using sbRIO 9633. I log data into the sbRIO's memory (through ftp) as well as on the C drive of my computer (through an executable).
My questions are,
1. When the RAM is flushed (that is, I restart the target), the logged details seen on the sbrio through ftp server does not get flushed. Therefore, when logging through ftp, onto which part of the memory is the data logged? What happens if this memory becomes full? (as the application has to run for years)
2. As the application continuously runs, the available bytes on the real time target decreases continuously (I guess) and eventually the RAM gets full. So, do we have to flush the RAM once in a while?
3. If I dont add the log loop on the RT vi, will the "available bytes" on the RT target decrease? If no, then how?
I managed to save data from waveform graph into excel file and saving the plot into excel but individually. I'm aiming to save both the data and the plot in an excel file. May I know how do I do it? I've tried using the Write to Measurement File vi and also the invoke node of the waveform chart but it's still not giving me what I've wanted.
The above was only for one analog input channel and I have 2 analog inputs each with their respective sets of data and plot. Is there a way to execute the data and plot of one input in one worksheet and another set of data and plot in another worksheet, all in one excel file?
Tenemos varios programas con labviews 8.2 que han funiconado correctamente con Windows XP pero al instalar ahora en Windows 7 (64 bits) da error de nidaq32.dll.
Solicita que se registre esa dll pero no podemos registrarla. El NIDMM esta actualizado, ¿algún software que nos haga falta para hacerlo funcionar? o ¿es incompatible con WIndows 7 (64bits) ?
The page entitled 'How Connecting to Texas Instruments DSPs Using the LabVIEW DSP Test Integration Toolkit' is found to be broken in your site. I would like to know if Labview FPGA just refers to the FPGA modules developed by NI. My requirement is to program either a DSP (TMS320 from TI) or Terasic FPGA from Altera. If it is possible please help me out with the support documents.
I have program that uses listbox to display some messages. When new message is recieveD,it is added as last element into MCL. I want MCL to scroll down so that user can see this message.
I know there is top left property or something like that but mu MCL can have multiline input and it will be resized at runtime so I can't calculate this property.
As last resort my solution will be to add new message on top instead of bottom but that is counterintuitive for user....
After a long time I am here again to find out some solutions regarding image processing. I have an RGB image with a number of particles in it. For processing I have made it binary image and then particle analysis function is used. It is showing all the required measurements of each particles. But as well as I also need the image of each particle individually, that may be in an array so that I can get those one by one using for loop. Is it possible to do? I have no idea how to do it. Please help.
Hi, I would like to to be able control on LED indicator using event structure. I'm using with read serial block, and scan string. when it's recognized the string its should change the LED state each time. Please let me know if it's possible and how can i exec that? Please find attached VI file. For example i would like that when the string "Door opened!" will appear its should change the state of the LED. Thanks for any help,
Image may be NSFW. Clik here to view.When using touch screen, tapping in an input field brings up a small keyboard icon nearby (see image).
This icon allows to open the on screen keyboard near the input element. This works in many applications (notepad, windows explorer, ...).
My questions:
Why does this not happen when running an executable built by LabVIEW 2012?
Can I do anything to enable this?
Is this supported by LabVIEW 2014? (Only the customer's computer has a touch screen. Can I emulate this for testing?)
My current work around is to add a button near important controls. When clicked, "TabTip.exe" is started and the focus is set back to the input element. A disadvantage is that the Keyboard opens centered on the screen, probably hiding the active control. And placing a button everywhere is routine work.
We used self-written .Net Assembly (using .Net 4.0) with LabView 2010. It worked well. Now I have updated LabView to 2013 and can't open the assembly with a rather unclear error (s. attachment). What must I do to use our assembly with LabView 2013? What has changed in this aspect? I attach the error, which I get tryin to open the assembly creating a .Net object with LabView 2013 and the "normal " view as I get it with LabView 2010.
thank you in advance for your ideas and suggestions!
I'm working on a project involving the NI WSN measurement node 3226 and the NI WSN Gateway 9792.
Both the gateway and the measurement node are running on battery so current consumption of both devices is critical.
Let's say I must get values from the measurement node every 10 minutes. My ideal scenario is as follows:
1) I wake up the gateway
2) The node has been previously configured to check network availability every 30s. So maximum 30s after the wake up of the gateway, the node should be connected.
3) The gateway configures the measurement node (Sample rate, type of acquisition,...) and get measurement values from the node.
4) The gateway is shutdown
5) The node detects that the network is down and goes back to checking every 30s for network availability.
And then back to step one.
==> However I don't know how to configure the rate at which the node will check for network availabilty.
It seems that the node comes with some kind of preconfigured state machine:
Image may be NSFW. Clik here to view.
But i don't know how to influence the timing of this state machine. My goal woud be to set the duration of the sleep state to 30s when the network is not connected.
In a project we use vi Server to Run a top-level VI that calls NI XNET function (LIN) we use an Invoke node with the Run method and set the Wait until done option to False.
To stop this vi we call a Set Control Value and set the control Stop to true. After this, we check the state of the vi, and abort it if it didn't stop properly after a timeout.
This works properly in labview 2010 SP1, XNET 1.1.1 and with the same code in labview 2014 XNET 14.0 we get the error 1000 when we want to abort the vi (the vi doesn't stop, it stay in the running state). The same code also works if i set the vi not to be reentrant...
- why this vi doesn't stop properly (maybe an evolution in the XNET driver ??).
My project programmatically generates controls from a template. The template has a custom shortcut menu that is saved in the project directory, and the generated controls all work fine with this. However, now I need to be able to export the project to other directories/machines, and so now the generated controls can no longer 'find' the .rtm shortcut file, despite it being in the same folder as the control. This means if I want to be able to use the menu I have to open every generated control (which there can be hundreds of) and right-click -> advanced -> run-time shortcut menu -> and then reopen the file.
Is there any way to programmatically link a controls' shortcut menu to a new .rtm file, or is there any way to set a controls' custom shortcut file as a relative path instead of an absolute one?
I am using LV2013 SP1 and working to replace existing FTP functionality with WebDAV.
For this task, I need to get a listing of files (*.tdms) on the RT (cRIO) and allow the user to select those for transfer.
My current FTP method displays name, date & size in a listbox for sorting and selection.
Regardless of whether I use WebDAV Synchronous or Asynchronous VIs to retreive a directory list, the file info's cluster type and last modification elements are empty. The RT has WebDAV Server 13.5.0 installed.
Image may be NSFW. Clik here to view.
I did notice that the type is populated for text files (text/plain), but last modified is still empty.
I'm guessing the MIME type of TDMS files doesn't exist? I don't require that information for sorting.
However, the last modified information is very important for my applications & users for sorting the file list.
Could this possible be an issue with any RT settings or missing software?
I inherited an xml file which does not use the normal LabVIEW schema, where the types would be defined for each value and the number of elements would be defined for an array. Although a schema file xsl is listed in the xml header, no such file exists.
Below is a example of the file's contents. It is a much much shorter version of the actual file. As I look at the file and start to implement code to support it, I am wondering if I am creating an oversized monster better known as Rube Goldberg code for this task. Below is the snippet for the latest attempt that I started (obviously unfinished). It is obvious that I am not an expert at dealing with xml files, which is why I posted this thread. In other words, I am seeking advice on the appropriate approach to extract values from an exl file that contains code similar to that below.
The LabVIEW code will need to do 2 things:
1. parse the file and populate clusters with the data (I am trying to avoid a giant cluster)
2. allow to edit the values and write them back to the xml file, while retaining the original format (this is where it becomes tricky).
I have tried a couple of other approaches that I was not happy with. Below is the snippet for the latest code that I just started. I'm trying to avoid falling into the rabbit hole.
I am brand new to LabVIEW (zero experience). I am trying to create a VI that will acquire and save my pressure transducer signals. I am running LabVIEW on a desktop computer connected to my DAQ system via ethernet cable. My setup is as follows: the pressure transducer signals are connected to an interface, TB-2709, attached to the PXI-6123 DAQ Card that is in the PXIe-1078 chasis. The Embedded Controller PXIe-8133, in the chasis, is connected to the desktop computer via ethernet as stated before.
If I go into the Device Manager under Remote Systems (in the tree) I can see my Embedded Controller. Under the Embedded Controller, my DAQ card is located as a Network Device. When I click on the DAQ card, I can start a new task and see all my available channels (voltage, 8 channels) to acquire signal from. I have tested getting a signal out of this method and it works. However I would like to design a VI to acquire my data and save.
When I start a blank VI and use the DAQ Assist block, I see the same GUI for selecting the channels I wish to use, but now there are no channels to choose from. Why can I not see my channels? How can use them?
I have less than 30 days to conduct my experiments and that's clearly not enough time to get intimate with LabVIEW. Please help! Thank you in advance!
I'm working on a project, I need to collect the data from laptop sound card, and also from serial port at the same time.
The attachments are my VIs for sound card and serial port communication, I'm wondering that can I combine these two VIs together? Or can I run these two VI at the same time?