i2d=[]
img=[]
for j in range(0,129600,360):
i2d=[]
for i in range(j,360+j):
i2d.append(data[0][i])
img.append(i2d)
How to do this nested loop inside labview
Sampling Data in Vi
I'm sure the question is pretty basic but any input is appreciated. I have a thermometer that aquires data continually but I want to display the current value of it in a waveform graph every other second. How can I use the timing palette to achieve that?
Saving Xnet Signal data
Hi all,
I have a VI to control an electric fan (speed, direction, etc). This fan is controlled using LIN signal and I'm using LabView XNET to do this.
I'm able to control it and all, however, I'm struggling in saving all the feedback data from the ECU of the fan.
This fan has a LDF database file.
How do I go about saving all feedback data in a reasonable manner for further analysis.
I tried to use "Save to Measurement File" but it doesn't connect, saying "type of data is Xnet session" and sing is dynamic data.
I could do this: see image 2. But it doesn't save signal names and not in column fashion.
Any help will be appreciated..
Web Service streaming response, and/or console generation
I have some LabVIEW (not NXG) Web Service methods that perform some fairly long-running operations, and I'd like to be able to provide feedback as the process is executing. I have configured these methods to be "streaming", but the actual output isn't rendered on the client until the operation is completed.
I know there is a "flush buffer" method, so I did attempt writing intermediate output messages and then flushing the buffer immediately. However, I want to wait to return the final status code until the end of the process, in case it fails. It appears to throw an error if you try to set the status code after flushing the buffer.
Are there any ways we can actually stream a series of messages to the client as a web service method is running? Or, short of that, is there a way to write to the browser console programmatically, so we could at least provide more realtime feedback of the process there?
Add Error codes from module to exe
I am trying to build an application to interact with a cRIO. When running it on the development machine everything works fine and if there is an error I get an error message from simple error handle:
However, when I run the application on the target computer I get that the error code is undefined.
How can I "teach" my application the error codes from the module? The module I am using is SoftMotion, but the problem is probably not limited to that.
I also tried adding Soft Motion Run time to the installer, but that wants to be activated. I also don't need SoftMotion to run my Windows application, so I'd like to leave it out if possible.
Any help is appreciated!
How to do this nested For Loop
there is a 1Darray of length 129600 and I want to create a 2D array of 360x360 out of it
I'm new to Labview and confused to do it
i2d=[]
img=[]
for j in range(0,129600,360):
i2d=[]
for i in range(j,360+j):
i2d.append(data[i])
img.append(i2d)
Multiple button press to show panels
Hi all, I'm fairly new to LabView
I'm currently making a menu with 8 buttons, wich show different panels each loaded with a different subVI.
I've setted the buttons mechanical action to "switch when pressed" and wired them to a case,
If a button is pressed the other must switch to "unpressed", doing so if I run it the menu works on double clicks (first click realeses old pressed button, second click presses the new button), which I don't like. How can I fix it?
Also is there a more efficient way to do it? Or simplify the wiring as I don't find it really clear, like wiring the same false costant to different inputs or wiring the Visible property outside of the true/false case
If needed I can link to an image with my wiring
Asynchronous request-reply using LabVIEW Web Services
Are there any examples in the wild of the async request-reply pattern with LabVIEW web services.
As mentioned in this related post, I have some web service methods that take a fairly long time to execute, and I'd like to provide some intermediate status updates while they are running, but reserve the right to return a failure code (i.e. HTTP status code 500, or similar) if the process fails at any point.
Looking for any examples where folks might have successfully accomplished this via redirects and async request-reply. Or any other means.
How to plot a image of 2d matrix
I have a matrix of 360x360
I want to plot an image of this matrix
Two matrix and get maximum values out of matrix
I have matrix A as 3*3
and matrix B as 3*3
and want matrix C as max elements out of A and B
A=
B=
C=max(A,B) elements
Getting Started Code for NI-9234
Looking for getting started code example using NI-9234 in compact DAQ platform that does not require LabVIEW RT, FPGA, or Sound and Vibration Measurement suite. One or more of these add-ons are required for most of the LabVIEW 2017 examples. I'm looking to implement a basic data acquisition app for a mix of single and tri-axial accelerometers. Thanks.
How to do this nested For Loop
Student Version of LabVIEW
Forum Community,
I apologize for what may be a redundant post, but I am checking to see if there a current free student version of LabVIEW for college students requiring to learn this software. I know a year ago, there was such a version but not sure if something has recently changed where that is not available anymore.
Dan Scrobe
LabView, FPGA, FIFO
Hello,
I am trying to construct a program in order to capture temperatures, pressures, etc. I am currently using a cRIO 9073 with c-series modules. The issues arise when trying to vary the data collection rate and writing the data to a CSV file. I cannot seem to figure out how to change the data collection rate using FIFO mechanism. I know i have to move the FPGA references to the data rate (the counts) into a while loop but in practice it makes it more difficult. I need help distinguishing where the while loop should go and what the operating parameters of the loop should be. As far as writing the data to a CSV file, the data does not transfer into the file at all. The headers come out but the file does not. Any help or direction someone could give would be phenomenal. Thank you for your time and I have attached the FPGA and Main VI files to this question.
VI Scripting - Create Reference Constant of 2D picture
What is the VI Object Class for a 2D picture reference constant? I would like to script the creation of the reference constant to the 2D picture object I created.
Using new VI object and the diagram reference I am not able to generate the reference like I would RT Mouse clicking on the Picture Terminal node -> Create -> Reference
I dont see any invoke options on terminal for create reference of change to reference.
issues with NI skyline product and rabbitmq server...
Has anyone encountered this or know anything about it? was there already an embedded version of rabbitmq installed because I have NI Skyline products (I have no idea what skyline is or what it does or how it got on my machine)?
Unless there was already a version of rabbitmq installed that isnt visible, It APPEARS (i could be wrong) that the NI Skyline service/software somehow changed the default path variables in windows to use its own rabbitmq config files - as well as delete or replace the default user/pw guest/guest (it created a user "niskyline" as admin) - I've uninstalled and reinstalled rabbitmq and erlang (it's not a simple process) like 10 times at this point.
There is no "NI Skyline" listed in NI installed products so I dont even know how I ended up installing it.
this is frustrating. Does anyone have any ideas? Am I doing something wrong here?
Thanks in advance...
What's an effective way to pass a cluster of data to a web VI
I'm trying to build a web app using the NXG web module. I understand that NXG is being discontinued but the web module will live on and it seems to be a decent investment of my time. If that's a dumb idea, I'd be happy to hear about it. The concept is to have a Labview VI acting as a server accumulating and processing a bunch of data. Anyone with the right credentials would be able to fire up a web vi in a browser on a remote computer. The remote client would display the data and allow user interaction e.g, panning and zooming graphs, saving the data locally and so on. My idea is for the server to do all the processing and package the data in a cluster. When new data comes in, the server will process it, add it to the cluster and send it out to whatever clients have subscribed.
My questions are what Labview functionality is appropriate for this and can someone point me at an example? Here's the options I'm aware of.
1) Websockets
2) HTTP
3) Systemlink
4) TCP
5) UDP
6) Network streams
and probably others
Data comes in very slowly, like once every couple of hours. In the short term, the cluster will be less than 1kByte to start and less than 100 kBytes or so max. So it seems reasonable to just send all the data when required. In the long run, the cluster will become larger and I'll have to figure out a way to deal with that but for now, I'd just like to get the simple case running.
Thanks
ライブラリ関数呼び出しノードで0x449エラー
T&D社のTR-73UをUSBを介し、接続し、DLLで呼び出しています。
下記のエラーが発生し、行き詰っています。
LabVIEW: (Hex 0x449) ライブラリ関数呼び出しノードで呼び出された外部コードで例外が起きました。
機器への接続はできているようです。
また、VBでも文字列の長さを指定(定義)しないとエラーになりますが、これが関係しているでしょうか。
Pmod RTCC with I2C commnication with LINX LabVIEW
Hi, Ive been stuck on how to continue getting the real time data from Pmod RTCC, Rev A from digilent.
Im using I2C to communicate between the Raspberry Pi 3 b+ and RTCC. I have attached my block diagram below.
Which CPU can make the software run faster?
We are trying to develop a data analysis software using LabVIEW.
Due to the large amount of data operations and the huge amount of data, each analysis requires a long wait.
We have tried to configure parallel loops for some algorithms that can be parallelized. The efficiency is optimized as much as possible.
I want to further speed up the analysis by upgrading the hardware.
I am considering the latest generation of Intel Core i7, i9, or Intel Xeon series, or AMD 5900x.
Is clock speed more important or core?
Does Core i9 and Xeon have compatibility issues? We have found that the 3900X will have compatibility issues?
In addition, is it possible to improve the drawing efficiency of LabVIEW waveform graphs through GPU? I need to draw about 500k points on 128 waveforms per second.