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

Re: DDE server receiving data

$
0
0

hi,

When I write that it is not working I mean that the server did not receive the value of item form client. I'm trying to talk to TAKAYA machine APT.(Attaches a document)

According to their document, The communications are supposed to be like this.

q.jpg

There are some things that are unclear to me. what this is a "open link" box?

This is what I tried to apply:

 

ww.jpg

 

the error code is 14001 

According to their document, I need to read 3 items client

IPS_item, VAL_item, LOC_item

Where am I wrong?


Interlock Buttons

$
0
0

Hello,

I got 64 buttons on my front panel. I'd like to make these buttons interlock, only one button is allowed to be activated all at the once.

Currently my code's efficient is not good as what i expected. The picture below is the block diagram of my code. Anyone has a good way to do this?

Interlock Buttons.PNG

Re: LabVIEW with Kistler 5074 charge amplifier

$
0
0

Dear Bob,

 

Thanks for your reply.

I will try to do some experiments.

 

I've attached the manual.  I think 4.2.1 and 4.2.7 are the paragraph's you're looking for.

 

M. Mombarg

Re: LINX + Startup Executable

$
0
0

Yes, that looks like Linux alright.Thanks for the clarification, I've missed that part.

Re: Interlock Buttons

$
0
0

Hi Tomcat,

 

I'd like to make these buttons interlock, only one button is allowed to be activated all at the once.

This is what RadioButtons are used for in LabVIEW! Use them…

Re: Problem to capture image using labview software

Re: 3D floating bar chart / Gantt chart / candlestick type plot

$
0
0

Thanks for the advice! I'll look into these suggestions

Re: Installing Arduino package to Labview


Re: TwinCAt labview integration - error 1172

$
0
0

Thank you for the answer.. 

I completely failed to see the sample.pro file (I did make my own TwinCAT PLC program)..

But I tried your suggestions, and if I compile without any modifications it works fine.. I did not need to add a new task.

LabVIEW crashes with access violation

$
0
0

Hello,

My LabVIEW suddenly started poping up the crash window with Access Violation.

Even uninstall-reinstall activity didn't work to remove such crash.

Capture_LabVIEW crash.JPG 

Seeing lvlog.txt, it seems that there should be an error in NI report generationtool kit (Excel_Insert_Textbox.vi).

I wonder anyone can help me to resolve this crash.

 

####
#Date: Tue, Apr 30, 2019 4:05:48 PM
#OSName: Windows 7 Enterprise Service Pack 1
#OSVers: 6.1
#OSBuild: 7601
#AppName: LabVIEW
#Version: 17.0f2 32-bit
#AppKind: FDS
#AppModDate: 8/16/2017 02:33 GMT
#LabVIEW Base Address: 0x00250000


InitExecSystem() call to GetCurrProcessNumProcessors() reports: 4 processors
InitExecSystem() call to GetNumProcessors()            reports: 4 processors
InitExecSystem()                                      will use: 4 processors
starting LabVIEW Execution System 2 Thread 0 , capacity: 24 at [3639452788.24136305, (16:06:28.241363049 2019:04:30)]
starting LabVIEW Execution System 2 Thread 1 , capacity: 24 at [3639452788.24136305, (16:06:28.241363049 2019:04:30)]
starting LabVIEW Execution System 2 Thread 2 , capacity: 24 at [3639452788.24136305, (16:06:28.241363049 2019:04:30)]
starting LabVIEW Execution System 2 Thread 3 , capacity: 24 at [3639452788.24136305, (16:06:28.241363049 2019:04:30)]

<DEBUG_OUTPUT>
4/30/2019 4:07:31.549 PM
Crash 0x00000000: Crash caught by NIER
File Unknown(0) : Crash 0x00000000: Crash caught by NIER
minidump id: b286807b-d9d2-43cd-8aca-fe2cfd79799a
ExceptionCode: 0xC0000005

</DEBUG_OUTPUT>
0x6D73161F - nierInterface <unknown> + 0
0x6D7363C5 - nierInterface <unknown> + 0
0x6D735773 - nierInterface <unknown> + 0
0x753C03CF - kernel32 <unknown> + 0
0x778350E7 - ntdll <unknown> + 0
0x777F97D5 - ntdll <unknown> + 0
0x00000000 - <unknown> <unknown> + 0
*** Dumping Bread Crumb Stack ***
*** LabVIEW Base Address: 0x00250000 ***
#** prop types: "C:\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\addons\_office\_exclsub.llb\Excel_Insert_Textbox.vi"
GoDoit: VI "NI_ReportGenerationToolkit.lvlib:Excel_Insert_Textbox.vi" (C:\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\addons\_office\_exclsub.llb\Excel_Insert_Textbox.vi), HeapClass "FPHP", Act 50,
GoDoit: VI "NI_ReportGenerationToolkit.lvlib:Excel_Insert_Textbox.vi" (C:\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\addons\_office\_exclsub.llb\Excel_Insert_Textbox.vi), HeapClass "FPHP", Act 50,
*** End Dump ***

 

 

Re: Passing the data to other while loop

$
0
0

Sorry for late response, I just busy on the job

I attached the code.

Call DLL via Python: Pass String to String Cluster

$
0
0

Hi, 

 

we have built a LabVIEW DLL with the following C Header-File. 

#ifdef __cplusplus
extern "C" {
#endif
typedef uint8_t  Enum;
typedef struct {
	LStrHandle Channel;
	Enum ACDC;
	double AmplitudeVA;
	double FrequencyHz;
} Pin;

Now i try to pass some values with the help of this documentation: 

https://docs.python.org/3/library/ctypes.html#module-ctypes

 

I succeeded to pass values for the frequency and amplitude but in case of the enumeration and LStrHandle  i got some strange errors. Unfortunately, i couldn't find some examples for those two data types. I succeeded to pass a string to the DLL, but the string control was not a part of a Cluster, like in this case.

 

Now my question:

Is it possible to pass a string to a string control which is part of a Cluster. If yes, how? 

 

Thanks,

John Lee

Re: Installing Arduino package to Labview

$
0
0

Thank you for your prompt reply.

That is actually the page i have been trying to download from. When i click on download through VIPM, it will open up the VI package manager and then the error message that the package can not be found in the location will be displayed. 

Re: Problem to capture image using labview software

$
0
0

Thank you very much for your suggestions. At the end, I solved the problem, it was related with the cable connections because they were wrong.

 

Thank you very much.

R programmin A-Z Complete

$
0
0

I am title bit confuse about learning R Language and is it well good for future point of view. Currently in a market many of language is present, so why people learn R Language and any site which provide best tutorials for R Language?


How to Read CI Period Using Sample Clock In PCI-6284?

$
0
0

I'm using Daq card pci 6284 and trying to read Counter Period using Sample Clock.

But during execution Error -200300 appears at Daq Start Task.vi.

How to correct the issue.

Re: Preserving Parent Class Data When Instantiating a Child Class

$
0
0

When you say you use "to more specific" to cast a child to a parent, I presume you mean casting a parent to a child, right?

Re: Preserving Parent Class Data When Instantiating a Child Class

$
0
0

It also seems to me like you need to use the children as wrappers of the parent as opposed to being linked by inheritance.  Then you can simply pass the object from one child to another. As data.

Re: Preserving Parent Class Data When Instantiating a Child Class

$
0
0

Intaris is onto something here. Your use case sounds more like being a classical case where composition could be used instead of inheritance.

 

Read a bit on the various OOP patterns. There are virtually dozens or more of them but there is a fairly well agreed group of half a dozen or so OOP patterns that can solve common and very often occuring problems. The decision to use composition instead of inheritance is a very common one and one every OOP programmer has at some point struggled with (and some keep struggling 😀).

PXIe-6674T sync to backplane

$
0
0

Hi,

I'm trying to sync the PXIe-6674T oscillator to my PXIe-1095 backplane clock.  I don't know why NI can't keep their terminology consistent throughout the documentation.  The user manual never once mentions "oscillator" as a source.  At any rate, I tried to use the Route Clock.vi example to sync the clocks.  I connected "oscillator" to "PXI_CLK10_IN".  I don't get an error when doing so, but the "active" LED light doesn't turn on, which makes me think the backplane isn't deriving the PXI_CLK10 and PXIe_CLK100 from the PXIe-6674T.  My ultimate goal is to use the PXIe-CLK100 as the clock for my PXIe-7856R.

Thanks for any help.

Viewing all 202157 articles
Browse latest View live