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

How to send a joystick signal from a computer to another using UDP communication.

$
0
0

Hi everybody .

 

I'm trying , through this VI, send a joystick signal from a computer to another. However, I didn't learn how to use correctly the UDPs and TCPs yet.

I'd like your help, I'm just  a starter in LabVIEW.
Thank You.
Regards,
Lucas Lourenzão .


myRIO voltage input problem

$
0
0

Hello. I'm using a myRIO 1900 with LabVIEW 2013 on Windows 7. I've connected a potentiometer to A0 on channel C of myRIO and I'm taking inputs from there. The other two wires go to 5V and the Analog Ground. The voltage inputs taken by the myRIO are not between 0-5.. (i have an indicator on my LabVIEW VI to show me this)  they keep fluctuating within various ranges... -2 to 3, 1 to 6 etc..When i checked the p.d between the A0 pin and AnalogGround using a multimeter, they are in accordance with what its supposed to be.. between 0-5 depending on the pot position. Why is the received voltage input varying in the myRIO and how can i rectify this ?? Please Help 

 

Thanks in advance Smiley Happy

s transform

$
0
0

How to realize a S-Transform block in Labview.

how to make PWM generator using sine wave and triangular wave too. using basics functions given in function palette

$
0
0

how to make PWM generator using sine wave and triangular wave too while using basics functions given in function palette only. My instructor has asked me to do so, i think its possible only by using select switch or case stucture.

search string and convert to 32 bit real or 8 bit integer

$
0
0

I was hoping to get some advice about how I might search the following string and convert to a real number or integer.  The following data is output as ascii characters from a device and I would like to search for the times in each line (starting with 7699.72 seconds in this case) and convert each to a real number.  Alternatively, I would like to search for the integer values in each line (0 but could be 1,2,10,12, etc) and convert to an 8 bit integer.  I think using the Match Pattern followed by Scan from String VIs would be what I need but am not quite sure how to match in each case. Thanks!!

<CL>  7699.72       0

<CL>  7699.74       0

<CL>  7699.76       0

<CL>  7699.78       0

how to convert square waves to a physical data

$
0
0

Hi all,

I have omega ftb-1302 flowmeter sensor which gives a square wave as output.I wired it to DAQ.When i plug in the power supply i saw this image11334688_10153255687889765_1891243302_o.jpg

 

When i open the valve it doesn not fluctuate.What am i supposed to do?

 

how can i set a series of measurement's by time?

$
0
0

im trying to run a series of temp measurments which should be done every 5 cm , how can i set this kind of test?

webpager error

$
0
0

intento crear un servidor web q se vea desde internet fuera de la red, para esto descargue webpager, pero al momento de intalar este toll me muestra un error el cual adjunto acontinuacion.

 

quisiera saber como creo un servidor de modo que pueda ver mi panle desde cualquier sitio en internet y no solo en la red, ya he utilizado las recomendaciones q hacen en foro anretiores pero no he obtenido resultados

 

grcacias por su atencion


Remote Panel and DSC interfering?

$
0
0

Hi, I wonder if DSC or OPC is interfering to view my remote panel in a executable, since I installed them and now I cannot see my web page. I mean the instructions says close Labview to gain acces with the executable, does DSC or the shared variabel Server or something is interfering?

 

What happened:

 

I have a program which monitors temperature for rooms with fruit, We acquire the temps through modbus RTU, and We see that info through internet.
First I did it with the modbus libraries, and It worked, We had the web page working through remote panels and the web publishing tool.

 

But now Smiley Sad I saw the DSC toolkit for Labview, and excited about that I migrated the whole functionality to the IO servers, and until the very end, when everything else works ok, the web page or remote server doesn't works, works with the VI but not with the EXE.

 

The first time I followed this, and I did this time again with not succes
http://digital.ni.com/public.nsf/allkb/7F95D43D3F50FCAC8625710E000068E1

 

Currently state:

My Web server is started and works in development, I made a webpage named TRY.html, and it works in Labview with the VI.

1.png

 

2.png

 

I know that the plugin doesn't works on chrome, but just to let you see that the problem is not IEXPLORER, whetn the web page is static it works on chrome too.

With IEXPLORER (right) it works in chrome (left)  it doesn't

 

5.png

Working on IExplorer

 

 

...

So I followed the steps from the instructions, added the web page to my project, added to the build, and built

 

4.png

 

Then I modified my NIconfigserver file, and CLOSED labview entirely, the tutorial says so, I closed at least as much as I used to do before.

 

5.png

 

 

My ni config

# Web server configuration file.
# Generated by LabVIEW 14.0
# 13/06/2015 11:44:16 p. m.

#
# Global Directives
#
NI.AddLVRouteVars
ErrorLog "$LVSERVER_ROOT/logs/error.log", level=2, anew
TypesConfig "$LVSERVER_ROOT/mime.types"
LimitWorkers 10
LoadModulePath "$LVSERVER_ROOT/..;$LVSERVER_ROOT/modules;$LVSERVER_ROOT/LVModules"
LoadModule LVAuth lvauthmodule
LoadModule LVSnapshot lvsnapshotmodule
LoadModule LVRFP lvrfpmodule
Listen 8000

#
# Directives that apply to the default server
#
NI.ServerName LabVIEW
DocumentRoot "C:/SMC/data"
InactivityTimeout 60
SetConnector netConnector
AddHandler LVAuth
AddHandler LVSnapshot snap
AddHandler LVRFP
AddHandler LVSnapshot
AddHandler fileHandler ""
AddOutputFilter chunkFilter
DirectoryIndex index.html

My ini

 

[SMC]
server.app.propertiesEnabled=True
server.ole.enabled=True
server.tcp.paranoid=True
server.tcp.serviceName="My Computer/VI Server"
server.vi.callsEnabled=True
server.vi.propertiesEnabled=True
WebServer.Enabled=True
WebServer.TcpAccess="c+*"
WebServer.ViAccess="+*"
DebugServerEnabled=False
DebugServerWaitOnLaunch=False
saveFloaterLocations=True
find.viListFlags=0
LastErrorListSize=0,0,0,0
paletteStyle="NamedIcons"

And so, I open my EXE, then reload the webpages, and I can see that the web server is started, because it shows the html, but I cannot link to my EXE. It says that can't find my VI

 

Requested VI is not loaded into memory on the server computer

 

6.png

 

 

If I close the EXE the server stops

Remote Panel connection refused by specific server, Make sure Labview Web server is enabled

 

7.png

 

 

And that's my history

 

It's always hard for me to get the web page working, but this time I've spent hours without success Smiley Sad

I did the test in my development pc and in the target PC and is the same, on these PC's the webpage was working before using DSC.

 

So any help will be appreciated

 

My best regards

how can i set a serial of measurments by time

$
0
0

i want to mesure 4 temp location with 4 TC and i need to set measurment by time

i have NI WSN 3212 CARD 

 

THANK U

Get control and indicator references in individual array

$
0
0

Hi All,

 

Aim : How to get control and indicators references in two different arrays ?

 

What I tried :using Pane Reference i got controls but it does include indicator references.

 

 

controls.png

If sombody suggest on this, that would be great.

 

Thank you.

 

toggle between myDaq outputs

$
0
0

 Hi , im using my myDAQ for data acquisition from the lung and the heart(ECG) , 

i dont want that the two channels of the myDAQ will work simultaneously , i want to add a toggle that each time i will choose each of the channels.

now , i have something like this : Capture.JPG

pipe furnace mesurments

$
0
0

i have an pipefurnace where i need to measure temp in  4 points , how can i get an garph with 4 diagrams on top of each other??

 

thanks 

NXT bluetooth communication among 4 bricks

$
0
0

Hello guys,

 

I'm trying to create a connection among 4 bricks with LabView. I can make three of the bricks send the messages to the host but when I try to send a message back, only 2 of the clients (choosen randomly) receive the message, seems kinda conflict. (We tried to do the flow sequencially and parallel as well) Do you all have any idea what could we do?

Regards,

error 1031/ error 1026

$
0
0

Hello,

 

I made a change on a sub.vi (MFCCarrierScheath.vi) to (MFCCarrierSheathR1.vi). This change can be seen by the additional case structure surrounding the second to the right case structure in MFCCarrierSheathR1. This change has resulted in two errors:

1. Error 1031 occured at open VI reference in MCS-22.vi

2. Error 1026 occured at start asynchronous call in MCS-22.vi

 

Where MCS-22.vi is the main program.  Sorry for any inconveniance I may have caused my missing any necessary information, I am relatively new to labVIEW and extremely new to the forums.


Problem with checkbox and run the get button event continuously

$
0
0

Hi all,

I have a checkbox list of 3 sensors. I have used the X-Control (for checkbox) found in the following link for my application https://decibel.ni.com/content/docs/DOC-30558. I have problems to achieve the following.

  • Suppose i check Vibration and Strain, I should be able to display both Vibration and Strain data. (I should compare each element of 1d array with the string constant and run the case structure).
  • I have to run the GET event continuously to display the data. 

I have attached the code to the post.

Please can anyone suggest how to go about this.

 

thanks in advance

how do i wire a sensor to my daq having pulse output

$
0
0

Hi all

I am using NI 6229 BNC DAQ and i have a flowmeter which is giving me pulse as output.

In attachment i am sending the datasheet of sensor.

 

How can i wire it to my daq

 

Please help?

Export Waveform to Spreadsheet incorrect timestamp

$
0
0

I am looking to take resistance measurements every second and export the data to excel to analyze. I need to record a timestamp as a requirement but the program I have now always lists the initial time as 12/31/1903 7:00:00 PM. I attached my program (the HP 3478A is not currently hooked up to my computer so the value should read zero). I have not had any luck fixing this so far. Thanks so much in advance for your help!

 

I am also using LabVIEW 2010

 

Pulsed ramp (current sourcing) with NI 4139

$
0
0

Hi all,

 

I want to use the NI 4139 module to make I-V curve measurements from a pulse (square wave) current signal into the DUT, as I am ramping the max on state of the square wave to sweep the current and measure the I-V data.

 

Where should I start ? Is there any code available to do that upfront ?

 

 

Thank you for any help.

Tektronix Oscilloscope TDS 2004C USB Communication Error

$
0
0

Hello Everyone,

 

I am trying to capture a waverform from TDS 2004 C oscilloscope using USB interface. I have downloaded the device drivers (LV 2014) from ni's website. The program gives the followning error message

 

(Hex 0xBFFF001D) The specified attribute is not defined or supported by the referenced resource.

 

I have noticed that in the initialze subVI, there a case structure that has only control for GPIB and serial communication. Does anyone know the solution to this problem?

 

-Hamza

Viewing all 69098 articles
Browse latest View live


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