Quantcast
Channel: All LabVIEW posts
Viewing all 203026 articles
Browse latest View live

Re: UDP open error 54 issue

$
0
0

Hi Romain,

 

so you get an error from UDPOpen (just with local port=6000)?


Re: NI9269 Increasing Output Voltage Range - operations on Labview FPGA

$
0
0

Hello Fromano,

 

I would try your second suggestion, and assign each channel half of the signal. I guess you did not change any parameter within the project to tell the module that its outputs are cascaded, so I would not expect a command to AO0 to have an effect on AO1.

 

A way to know for sure would be to try it and measure the generated voltage.

Re: UDP open error 54 issue

$
0
0

Hi,

Yes, in this configuration, I got the error 1 on the dialog box if I run it on laptop or error 60 if it is on cRIO

How to run two motors interchangeably

$
0
0

Hi....

My question could be simple but to me as a beginner in using LabVIEW is not easy, I hope someone would help me.

I would like to run 2 motors, the first one should run for 5 minutes f.x and stops then the second one runs also for 5 minutes then the firs then the second and so on press the stop button.

someone would give me ideas how to make the code!?

thanks in advance

Re: NI9269 Increasing Output Voltage Range - operations on Labview FPGA

$
0
0

Hi fromano,

 

should I assign half of the value to the first channel (7.5V on AO0) and  the other half on the second channel (7.5V on AO1) in order to obtain 15V as output?

This would be easiest.

You can also assign 10V to AO0 and 5V to AO1 (or any other ratio you like) - that depends on your preferences. Smiley Very Happy

labview, reference, excel

$
0
0

Screenshot (4).png

 

hello friends, another Problem is this one.
i dont know why but after i hit the run button he gives me this.
how can i fix this?

Re: UDP open error 54 issue

$
0
0

Hi Romain,

 

what happens with a fresh VI, containing just the UDPOpen to local port 6000?

(Please do a restart of your laptop first. Can you show a screenshot of "ipconfig" in a command shell?)

Re: labview, reference, excel

$
0
0

Hi yzqamar,

 

you need to supply a valid Workbook reference…

 

Please stop informing me by PM for new messages, I already get notifications from the forum… Smiley Sad


Re: labview, reference, excel

$
0
0

Ok, im sorry,

how i do the valid reference?

Re: How can I use Labview real time with Interval Zero RTX real time os

$
0
0

thank you stockson, 

however it says that hypervisor reach end of life in 2006 is there a replacement or another solution? 

Re: Difference between Data member access static and dynamic accessors and static and dynamic methods

$
0
0

I'll explain a criteria :

I have a parent class, with 2 children classes.

Each child class has over-ridden methods from its parent. Which means the parent has created a dynamic dispatch for the particular or all methods created, under it.. in turn making the child to over-ride. And moreover, I have used static data member access for every data created.

 

Now, what am trying to get is:

On introducing a dynamic read/write -data member accessor. What would be the benefits when it gets to replace a static read/write -data member accessor ?! 

 

Am I clear!! Smiley Wink

Re: labview, reference, excel

$
0
0

Hi yzqamar,

 

to learn how to handle Excel references you should play with them by writing a VBA macro within Excel!

 

You need to:

Open Excel
| open workbook
|  |  open worksheet
|  |  |  play with ranges
|  |  close worksheet
|  close workbook
close Excel

Rif.: Reading power values via serial Modbus RTU power meter (slave) at LabView

$
0
0

Dear all,

I've been working on the issue in the meantime. I think the problem is solved (although not optimal yet). I've contacted the customer service of the Siemens device and they said that Labview cannot interpret 32 bit float requests. That's why I needed to be sure that device sends requests in 16bit integer form. For that I needed to access the 40050th register. I tried couple of Modbus communicator programs for this. Simply Modbus Master 8.0.6 worked. After I've made sure that it is 16bit integer, I used the very first vi that I've sent you (sicam.vi). The 5th row in the measurement array gives my power values. It gives a timeout error after a while, but I suppose this is another problem. Paolo's vi showed an irrelevant value, but I think it is about correct interpretation of the responses from the device. I'll be working on it further.

I'm also using another PC now, to be sure that there is no driver conflict (I used to get blue screens with the previous setting). I'd like to thank you all for your time and effort to solve this thread.

Best regards,

Kaya

Re: SubVI is not executable

$
0
0

Hello Navarro114,

 

I suspect that you have this VI below My Computer on your project and probably trying to use the I2C Express VI for myRIO. 

 

Just make sure where the VI you are working on is under myRIO and you should be able to use this Express VI.

 

Regards,

PedroR

shared folder acces

$
0
0

Hi everyone,

 

i need to know if there is a labview fonction that allow me to controle the acces of a shared folder. In other words, can i make a shared folder accesible with a login and a password

 

thanks


Re: Question for Producer Consumer with State Machine Consumer Loop

$
0
0

The "Element" datatypes of your Queues must not match at some point.

 

1) ensure Obtain Queue using the "enum"/"variant" cluster to establish the data type of the queue.

obtain queue.PNG

2) Ensure each "Enqueue Element" uses the cluster as an input (use a null variant if passing no data)

enqueue.PNG

3) Since you are using Bundle by Name to pass the two Queues together in your Producer Loop, make sure the input cluster matches your actual Queues

Re: Capturing STOUT/STDERR from C DLLs

$
0
0

For those interested, I have made some progress on this.  I've found that if I use the code below in my DLL, I am able to read the printf messages from within LabVIEW by reading a pipe, using the stdio.zip example code provided previously.  If any of you are interested, I'll happily share it.

 

The issue I'm running into now, if I attempt to use a '\n' for a CR/LF in a printf within the DLL, and then use another printf after, the Call Library Function Node call will not return.  It just hangs somewhere within the called function.  I've attempted to add a 'flush(stdout)' between the two printfs and it does not help.

 

Interestingly, if I either reduce the two printfs to one - still using the '\n' to separate the lines -OR- just remove the '\n' and have the two printfs not use a CR/LF, then it seems to work fine, the call to the DLL returns normally and I'm able to read the text out.

 

extern "C" __declspec(dllexport)int testPrintf(VOID )
{

	HANDLE hStdout;
	int fStdout;

	hStdout = GetStdHandle(STD_OUTPUT_HANDLE);
	fStdout = _open_osfhandle((intptr_t)hStdout, 0);
	FILE* f = _fdopen(fStdout, "w");
	_dup2(_fileno(f), _fileno(stdout));


	printf("This was generated with printf.\n\nSo was this");


	fflush(stdout);
	return(10);
}

 

Re: Polynomial calculations in FPGA

$
0
0

This may be helpful (feedback nodes operationally imitate shift registers). 

 

The clock speed of the FPGA is 40MHz while that of the host and RTOS is slower (1MHz) so it all depends on how fast you need loops to iterate and calculations to be made. 

HL7 and Medical Reports

$
0
0

Hi,

I am new in HL7,

I need to know is there any HL7 interface support Medical Reports. Medical Reports mean the report prepared by the physician / Consultant about the patient.

 

thanks

 

Re: How to get multiple axes with 9501 C-Series modules running with SoftMotion on a cRIO 9074?

$
0
0

Hi Darenk,

Could you help to share the example code of multiple axes with 9501 C-Series modules running with SoftMotion on a cRIO 9074? It is helpful for good reference

Thanks a lot

Vivian

Viewing all 203026 articles
Browse latest View live


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