I have multiple network cards installed in the PC, and they are configured to be on seperate subnets.
Is it possible to limit the publish scope of the Shared Variable Engine to only publish shared variables to one network card?
I have multiple network cards installed in the PC, and they are configured to be on seperate subnets.
Is it possible to limit the publish scope of the Shared Variable Engine to only publish shared variables to one network card?
I am using a cDAQ-9178 chassis with an NI 9236 strain gauge module to collect analog strain inputs from 3 gauges. I want to sample at 100 Hz but this strain gauge module has a minimum sampling frequency of 794 S/s, so instead I am sampling at 1 kHz and decimating my data to 100 Hz. I currently have a program that works well for what I want to do (attached as Strain_Finite.vi), except it uses finite acquisition. I would prefer to use continuous acquisition so I can see my strain-time curve develop during my experiment.
The problem I am having is that once I switch to a program that uses continuous acquisition (attached as Strain_Continuous.vi), my Export Waveforms to Spreadsheet File function only records the first data point in the spreadsheet. I need help configuring my Export Waveforms to Spreadsheet File function to record all my data points. I suspect the issue stems from having the For loop inside the While loop but I'm not entirely sure. Any suggestions for this issue would be greatly appreciated!
I previously submitted a message post asking for help on how to use the Export Waveforms to Spreadsheet File function in a continuous acquisition configuration, linked below. I am using the Export Waveforms to Spreadsheet File function as opposed to the Write to Spreadsheet File function to write my data to a spreadsheet since this allows me to have data headers and a time column.
Thank you,
Alberto M.
Hi:
I am trying to create a LabView VI ( I am using LabView 2010 we are up-grading next week to 2015 but I need to finish the VI in Labview 2010 ) to control a Keyence SR-752 barcode reader. I have been able to connect to the reader send commands for lights ON/OFF and take pictures and live view. I do have a problem is getting the decode barcode information. Below is the VB.NET section I am having problem with. I any could give me a helpping guide
Hello,
I am using cDAQ 9184 chassis and NI 9401 as a digital output module. I need to generate a PWM so that my output signal can vary from 0 to 5V (By varying duty cycle of PWM). I did generate PWM using square wave present in the simulate signal block. But it provides an analog output. So, please suggest me some way to generate PWM at my digital output of NI9401 so that I can vary my output voltage.
Thank you
I have two development PCs. Both are running LV2013 and use the Internet Toolkit. One of them works fine the other has an error: Library that contains the VI or item is not properly licensed. Under details it explains
This VI or item belongs to a library that is expired or invalidly licensed. Activate the license of the library to edit or run the VIs and items the library owns. For more information on activating this VI or item's owning library, see the error message on this VI or item's library.
I have the VIs for the toolkit under source control so they aren't in the usual place however both PC are that way.
On the one with the errors I downloaded and installed the ITK. No joy.
How do I get this properly licensed?
Norm
Hello
I am using Ni Flexrio...when I am compiling the VI on my FPGA target then I got xilinx compilation errors stating that the IO component has illegal IO standard value.
Please help
float
x,y;
-2*x*a+a**2-2*b*y+b**2=(-2)*c*x+c**2-2*d*y+d**2;
-2*x*a+a**2-2*b*y+b**2=-2*e*x+e**2-2*f*y+f**2;
But the Operating results shows me there had an error : it miss semicolon,how should I do with that problem?
Hello,
I want to open the full featured teststand interface in a subpanel.
Problem is that I get a message "Labview: This property is read only while the VI is in a subpanel" and after clicking OK teststand in the subpanel stops running.
I am using labview and teststand 2009.
Hello everyone
I am developing an application which reads a parameter name as input and gives its description as output. The application is supposed to connect to a database (PostgreSQL) and search in a "reference table" with two columns: 1- description 2- parameter. By connecting to database and using "DB tools execute query", the parameter is found in the reference table and reads the corresponding description.
I have developed the database connection and the query task in a SubVI which can be seen in the attachment.
I would like to see the description (output) constantly. However, the only solution that I found was executing query continuously in every cycle which leads to occupation of memory and increase of memory usage. So, I put this memory consuming part of the codes in a case structure which gets triggered by a "change detector" button. The memory usage problem solved, but I see the description (output) for a short time before being disappeared and the corresponding string indicator gets empty.
I also tried to use "Shift Register", but since the output eventually is stored in an array, it becomes problematic by changing the array size.
Now I am looking for a solution to be able to keep the result of the query execution available to solve this memory usage problem.
I would be grateful if you could help me.
Best regards
Iman
PS: I am using LabVIEW 2012 SP1.
Hello guys!
As you can see in the title I have some questions about a project I am working on.
To get things started, I am studying Automation, Computers and Electronics, and, along with 2 colleagues, we have to build an autonomous mini-vehicle that can drive between two while lines on a track and recognise few traffic signs (such as: Turn Left, Turn Right, Stop, etc) for our diploma exam.
Our coordonating teacher`s first idea was to buy the myRIO board, because he had some previous experience with some FPGA based systems such as compactRIO. So we bought it. After that, he wanted us to try to do some image processing using Fourier Transform to obain some sort of graphs (for example: the two white lines on the track would give us some waveforms and we could tell our vehicle to stay between them). But the problem is that we all are beginners in LabView programming so we didn't manage to do this thing.
After that, we wanted to try something else. We managed to find a Face Recognition project that used some templates (eyes, lips and nose) and we thought we could modify that one by adding our own templates (the traffic sings) but that didn`t quite work either. The program is not as precise as we would want it to be.
So, my questions are: Has someone managed to do this kind of thing ? And if so, what is the best way to do it ?
Please keep in mind the fact that we are new to this LabView / Graphical programming and we are trying very hard to learn it.
I hope I gave you all the necessary details and I assure that every advice you give us will help A LOT.
Thank you very much !
All,
I'd appreciate someome taking a look at my VI. What the VI does is looks for an existing reference of Excel and if it finds one, it will make that the workbook reference. If it does not find one, a dialog box will open asking the user to brouse to an Excel file. If it finds more than one, it will pull all of the workbooks into a simple listbox for the user to choose which one that they want to use.
This was kinda a quick and dirty little VI (which will be used as a subVI) but I need a second set of eyes to look at it and give me suggestions for improvement.
Using the SMTP Email palette, if I include a colon in the string wired to the Subject input of 'Set Message Text Html.vi', it shows up as a question mark in the email Subject in the recipient's inbox.
For example, sending "Test Completed at 10:00AM" as the email subject turns into "Test Completed at 10?00AM" on the receiving end.
How do I properly format the Subject string to get a colon on the receiving end?
I have gotten as far as detecting connected modules and getting a list of all channels associated with the modules. my problem is as follows, I want to be able to hook up wires to any channel and have labview do the following:
1)find all the modules. done.
2)find available channels on each module. done.
3) ping each channel to see if it has a value withing a range that tells me the wire is hooked up. having trouble here. I will describe below.
4) configure DAQmx based on the results.
many channels take multiple inputs. thermocouple, voltage, strain, RTD, resistance.......... i can get potential measurement types based on the module with property nodes. when i go to create a channel in DAQmx, i cant just wire in a measurement type. i have to choose what kind of measurement when i place "create channel" in the block diagram. I might be able to get around it by making a case structure for every module or every measurement type, but if I do that, then i need a case for every module or measurement type made because that is the potential output of the property node. i was hoping to modify the "create channel" vi to take a measurement type input, but no success.
long story short is that I am sure there is an easy solution, but I am missing it.
I included what i have so far. it's a bit of a mess as I was shotgunning ideas.
Hello,
I would like to use Labview web server to access remotely to a VI running on a computer with Windows 7 and Labview 2010. I would like to be able to check the VI and to control it remotely.
In Tools/Option, I configured the web server as follow:
- Port HTTP: 80
- Browser access list *
- Visible VI *
In tools / Web publishing tools, I selected the VI and the Embedded mode with Request control when connection established. I entered a title name of the web page...
On the computer, where Labview is running, I have no problem to access the web page using either http://localhost/"VI name".html or http://"computer name"/"VI name".html using Internet explorer.
I do not see anything using Mozilla Firefox except the Title of the Web page.
It is said to download a plugin but which one?
On the remote computers, there are also problems:
- The first computer is running under MAC OSX and it is not working neither with Safari nor Firefox. Nothing is written on the web page.
- The second computer is running under Windows 7 and both trying with Firefox or Internet explorer I can see only the Title at the top of the web page.
It seems a problem of plugins...
Do you have any suggestions?
Regards,
Coralie
LV 2013, Win7
I'm an old hand at LabVIEW, but fairly new at using menus.
I have a window, where the user opens a file and edits it, and can save it.
What is actually edited is an array of clusters, each cluster contains several items. The user adjusts the array index and changes things around to suit.
There is an EDIT menu in the window, with the usual CUT COPY PASTE items in it.
The FILE menu has a SAVE item, with a Ctrl-S shortcut.
This pic shows the code attached to the MENU ACTIVATION? event, called when the user clicks on the menu bar, or hits a shortcut combo.
Note the WORKAROUND section:
The comment explains the point of the DUMMY - the problem is that LabVIEW (improperly, IMO) fails to terminate editing on a control before handling a shortcut key. The value read is the old value before the START of editing. Unless I force the focus somewhere else, then the file saved does not necessarily include the changes made to the field.
The above workaround works to solve that problem - but it introduces another.
I discovered that the EDIT menu will not work (neither mouse nor keyboard shortcuts).
The reason is simple: the edit menu works on the currently FOCUSED control, and since I'm changing the focus AWAY from the text control to a boolean DUMMY, the edit menu doesn't apply, so it gets disabled.
So, how do I get out of this?
Do I have to set all the fields to UPDATE VALUE WHILE TYPING, and lose the workaround?
Do I have to search for the focus, switch it to the dummy, then switch it back before saving?
Bonjour
Je dois installé le package intan_rhd2000-1.1.1.3.vip (site pour telecharger le package http://intantech.com/RHD2000_labview_library.html) avec Labview 2013. J'ai telecharger le Vi package manager 2014 pour des soucis de compatibilité.
Mais lors du lancement de l'instalation j'ai l'erreur:
VIPM could not continue. Please fix the error and try again. -----
VIPM could not connect to Labview 2013. VIPM requires LabVIEW access as a part of the current task execution in progress.
please verify the VI SERVER : Exported VIs and Machine . ------ "
J'ai ajouté localhost dans les acces machines mais rien ne fais l'erreur reste.
Est ce que quelqu'un peut m'aider?
Cordialement
Simon Regal
Hi everyone
I have a problem with the NI USRP-2930 , at the LED E still remains blinking when i run an example program, how I can settle this problem?
and i have an other problem with this error :
niUSRP Open Tx Session.vi<ERR>A
runtime or configuration error occurred.
Code: 2638
Details: valueexpr: Timeout after no valid message found
Hi Everyone,
Good Day. I created a Block Diagram that uses the DLL File of our Customer. I have a Hard time to create it because I dont any background or experience of this level of .expertise that involves DLL FIles. The DLL File is a .Net Assembly type of code. The DLL File will be used for sending specific Commands (i.e. reading Firmware Version, Serial Numbers, etc) using a NFC Reader (Sony S380). That is the only way of communication to the product which is a Digital Watch. The problem is on the Callback VI Ref which involves a Dialog Box & a Message String from the Property Node of "DebugResponseReceived", There is no Message Output But the Dialog Box gives me a a correct message or info that I need to get. If I put a BreakPoint at the Unbundle By Name "e", it gives a message output at the Property Node & the Dialog Box. both the Message at the property Node & Dialog Box have the same Output. Please refer my Code.
I will appreciate your help.
Thanks,
Leo
Hi everyone,
I've been having an incredibly amature problem ( [ttom]--------[extreme novice] ). I'm trying to update an old colleague's program who left to include a 2D barcode reading feature.
The barcode scanner is setup to act as a virtual keyboard and enters the data into a string box which I then pass to another string box and clear the first one so that the next barcode doesn't get added onto the end of the last reading. But for some reason the first string box clears successfully but the second string is never updated.
For the life of me I can't figure out why. The image below is within the main while loop. Tried to look through the internet without any luck, hope you all can help.
Greetings all,
I have a 2d array of strings with values one colum representing an item set or subset number and the other being quantity of item in its parent looking like:
1 2
1.1 3
1.1.1 5
1.1.2 4
1.2 4
1.11 2
2 1
I would like to produce a third colum that shows the total number of items overall (ie 2 of item 1 means 6 of item 1.1, 30 of 1.1.1, 24 of 1.1.2, 8 of 1.2, 4 of 1.11 and 1 of 2) Looking like:
1 2 2
1.1 3 6
1.1.1 5 30
1.1.2 4 24
1.2 4 8
1.11 2 4
2 1 1
I was curious as to if anyone had a suggestion as to best handle the telling LabVIEW how and what to multiply. I imagen a something clever can be done with for and wile loops, but I'm not seeing it.