Quantcast
Channel: LabVIEW topics
Viewing all 69298 articles
Browse latest View live

como leer un optoacoplador con arduino y lab view

$
0
0

Hola , alguien que por favor me pueda explicar como puedo hacer una configuracion para leer dos optoacopladores , uno es un nec2561 y el otro un moc 3011 en una placa , esto es para realizar el disparo y control de un triac , esto estara conectado a corriente alterna de 110v . Ya tengo el circuito y si manda un pulso y requiero controlarlo en la interfaz de lab view  y arduino.

 


Building an array for graphing

$
0
0

Hello all,

 

First maybe this is a very silly rookie question if so my apologizes. Second this question is related to a exercise related to school, in fact i'm trying to make the program looking more fancy as asked for fun and learning purposes. Never the less my following question is NOT to get the answers easy but im looking to get in the good direction so i can solve the problem.

Ok now the the real problem.
I have made to For-Loops both 10 iterations long. This means that in this case there in total 100 iterations i need to place them in an array to be able to plot them later on an XY-Graph. For the electricians here on the forum it is an RC network and I want to plot the frequency response on a logarithmic scale. The calculations work all fine but placing the numbers in an array gives problems. The loop works such that I get 1,2,3,4,5,6,7,9,10,20,30,40 etc with corresponding voltages.
I bundel the first values 1 till 9 with their corresponding voltages, then the second iteration of the outer loop starts but th values are overwritten on the previous values. I have tried to use the function Insert Into Array (seems logical to do) but how ever i wire the function it keeps over writing the previous values.

I hope someone is willing to help me I would be really thankfull to tackle this problem and make it working to graph. 

Thanks in advance, all the best

Ray

serial write and read only reads if command is written 3 times

$
0
0

I'm very new to this, so I may be missing something fundamental. I'm using the generic basic serial write and read VI to communicate with an SR830 lock-in amplifier, and for some reason I can only read from the instrument if I write the querying command three times. For example, if I attempt to write and then read with "*IDN?\n" as the input, I get a timeout error on the read. However, if I use "*IDN?\n*IDN?\n*IDN?", then I read the correct output. I checked in the VISA test panel to see if any attributes change before and after running the command three times, but I didn't see any changes. Any thoughts?

How can I attach large files to the topics I post on this forum?

Delete or Reset Shared Variables

$
0
0

Hello.

Anyone have a clever way of removing or resetting Shared Variables?  Every time I run my application it "appears" to be re-deploying the shared variables, but then I many of my controls are maintaining the value b4 the application was turned off.  I saw a bit saying you could use DSC to delete shared variables which I'd be okay with because then the application would just re-deploy the variables each time.  Cuz the code is set up for "First Time Runs" that's essentially being over powered by previous shared variables. 

 

Thoughts, suggestions, white papers?

Integration of sbRIO9607 RMC serial ports with LV-RT VISA?

$
0
0

How to include additional Serial ports though RMC connector on sbRIO9607 using VISA?

 

More detailed expressed: sbRIO9607 (single board RIO) can have additional RS232 serial ports added through the RIO Mezzanine Card (RMC) port using the general IO pins.


In the RIO Mezzanine Card Design Guide: http://www.ni.com/pdf/manuals/375536a.pdf on page 24,25  it says about this

 

You can use any FPGA pins to implement additional RS-232 ports.
Number of interfaces:
• sbRIO-9607—4 (Serial2, Serial3, Serial4, Serial5)

 

Provided the necessary RMC board electronics interfaces to an appropriate RS-232 or RS-485 serial transceiver on the RMC design as described in the above document is available.

 

Question:
A) Suppose that the LabVIEW-RT should be able to communicate through this port (or ports). Does one have to implement a serial port FPGA block in the FPGA?

B) If so, how do I define and connect this as a SerialX port to LV-RT such that it can be addressed using VISA standard interface VI's?

 

Labview support for OS X Sierra

$
0
0

This seems like it would have been answered already, but simple searches don't pull it up. When will Mac OS X Sierra be supported?  It was released in Sept 2016, but it's not yet on the list of supported OS's.

Is that possible Arduino + RF 433MHz in LabView?

$
0
0

I have a project to monitor the enviroment use a gas sensor and RF module. 

How to read sensor value with arduino + RF 433 MHz module? 

The schematic :

Sensor > Arduino+Battery > 433 MHz transmitter

433 MHz receiver > Arduino+PC> LabView

 

Is that possible? Thanks Smiley Happy


Vintage LabVIEW: Is it possible to obtain the first LabVIEW version

$
0
0

I recently tried the first LabVIEW for Windows version (3.11) and found it fun to play with. It would be great if I could try even earlier versions such as version 1 & 2 for old macintosh.

Does anyone here have a copy or the knowledge on how to obtain them?

 

Best regards,

J Schedin,

Sweden

Best professional Report ? No Microsoft office

$
0
0

Hello to all:

 

I would like to do a professional report in an industrial environment.

The problem is that I can't use excel or word.

So is there any format file that I can use to create a professional report?

Maybe html? is this format enought professional?

Thanks a lot.

Labview work with camera

$
0
0

Strobe with LabView with Ocean Optics USB-2000 spectrometer

$
0
0

Hi, I am just a student and a new user to this board so sorry if my question is in the wrong section.  My questions is:

 

When using my Ocean Optics USB2000 spectrometer, why would I want my light source to strobe and not just be continuous? 

 

Thank you. 

How to embed windows app into labview frontpanel

$
0
0

how can i integrate any open Windows appication in a labview frontpanel. In the attached vi it opens calc and brings to front. But i would like it to be on the labview frontpanel.

Extracting element labels from a cluster

$
0
0

I need to programmatically get the labels from the elements in a cluster. I've figured out how to get them one at a time using property nodes (see below) but since there are quite a few elements in the cluster this would get rather bulky not to mention tedious. Does anyone know of a better way to do this?

 

Thanks

Capture.PNG

Questions about the High Throughput Math Functions

$
0
0

Hello everyone, now I'm working on a LabVIEW FPGA project. I'm using high throughput math function--Arctan2 which is implemented in SCTL. The X and Y are two adjacent points from AI of NI 5783, so here I used a feedback node.The block diagram is shown as follows:

 FPGA VI.JPG

Now the problem is that when the program runs, the Arctan function can only output limit points, after a while, the output value doesn't change. The input valid and ready for input keeps false. I hope I can get solutions from you. 

 

Thank you


Login Interface Not worked

$
0
0

Hye I just find some example for login interface, but when I run using LabVIEW 2013 32 bit, its not work. can anyone help me? I provide the VI.file , and the front panel also block diagram and detail about the example vi.

 

A tab control can be used to implement a simple login page to prevent users from having access to your remote panel.  As a user connects to the panel, they are presented with the login tab.  If they enter the correct username/password, the Main code tab is programmatically opened for the user to interact with your main code.  A while loop periodically checks if a user is connected to the remote panel and resets the view to the login tab if necessary.

 

Note:  This is ideal for a single remote panel license.

 

 

 

 

Combining Real Time VI and FPGA VI

$
0
0

In my current project I am using a myRIO to do some custom PWM signal output. Currently I have a Real Time Main.vi that has 3 output sinusoidal PWM waves but also contains other features provided by the myRIO like wifi data transfer capability.

 

I also created a custom FPGA.vi to output 2 high speed PWM signals driven by the onboard 40Mhz clock.

 

Currently I am having a difficult time trying to combine the two VI's. Is there a way to add that custom FPGA.vi to my RTMain.vi and have them output the combined 5 PWM signals at the same time?

Compiler error

$
0
0

I ran into an odd problem that I've never seen before.

 

I have a project.  I have a module that does some datalogging / pdf stuff.  If I open the project first and then open that module it is fine ... code runs, compiles, no problem.  I've been using this bit of code for almost a year now.

 

However I noticed something odd today...  if I open it from disk without opening the project first, I get the following error:

Compiler error.PNG

 

Not only that, LabVIEW then crashes on program close and I have to kill it from the task manager.  I've verified this on two separate computers

reg the fault diagnosis

$
0
0

hello,

I am  currently working on  project in labVIEW  which encompass the true case(simulation through a waveform) and false case(real time implementation using accelerometer),here i have the following issues that are joted down:

1.i am not able to get the  Y axis and Z axis value in the real time.

2.I am not able to get the D1,D3 value clearly in the wavelet for the same.

so, i seek help reg the following

Injection pulse width

$
0
0

Hey, I am new to lab-view. I wanted to generated a signal from lab-view. I attached a png file for my requirements. How should or What tools are used for the my requirements?

 

Pulse Width: 5ms

Period: 10ms

No of pulses: 6000 (60seconds)

 

Thank You. 

Viewing all 69298 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>