Quantcast
Channel: All NI TestStand posts
Viewing all 24435 articles
Browse latest View live

Re: Folder structure best practices to distribute custom steps built using OOP

$
0
0

This is a very interesting topic.  I'll take a stab at it while making some assumptions.  I have a few questions first though:

 

Do you expect them to inherit from your classes?  Is that why you are worried about relativity and linking?

 

A lot of this is most likely my opinion but it is also based on years of experience and observing how NI does their step types.

 

First it doesn't matter where your source code resides.   That is great that you are using a source code control.  Custom Step Types should be completely deployed independent entities.  In other words they should exist on their own and within their own folder structure.

 

NI recommends that custom step types are placed in: <TestStand Public>\Components\Step Types 

 

If I were in your shoes and I was trying to distribute custom step types like like this I would put my classes inside of lvlibs and then create packed project libraries out of them.  Then I would divide the Step Types folder up according to my step types.  For example if I had a bunch of steps related to DC Power Supply I would create a sub folder in there called DCPS or something like that.  Then I would put my PPL in there.

 

Then I would create a new type palette in the <TestStand Public>\Components\TypePalettes folder.  It would contain my step type definitions.  So maybe a correlating DCPS.ini file containing the step type definitions for all the PPL inside of the DCPS folder in Step Types.  

 

For distributing them you only need to distribute 2 files at this point: DCPS.ini and DCPS.lvlibp, each going to their respective folders in Components.  You can use NIPM to distribute or just a batch file to copy and paste.  Or full on installer if needed.  

 

Developers can also distribute them with their distributions if needed.

 

Hope this helps.  Let me know if you have any questions.


Re: How to include Python and pyserial installation in a TestStand MSI deployment?

Issue when opening another axAppMgr (C# Teststand API)

$
0
0

Hi,

 

I'm having an issue using teststand C# API.

 

My goal is to create two different UI depending on which group is the user in. As the interfaces are entirely different, i would like to open two different axAppMgr depending on the user who is logging.

I have been able to do that quite easily by launching two different  LaunchTestStandApplicationInNewDomain linked to two different wrappers but now i'm getting an issue when i try to swap from one UI to another using the login button. So I am able to close my first axAppMgr but when i wanna launch another, every component is getting initialisate without any issue but anytime i call for axAppMgr.GetEngine(), the method is crashing, and error message is telling that i have well shut down the engine and even if i don't call it, it crashes in the connectcommand section (not for every line of the section, like at the 4th one and i can't figure it out why but this is not my main issue anyway)

 

Isn't there anyway to reset the engine completely ? If not, can i tell in which engine i want to create the axAppMgr ? If u have other idea to achieve my goal, i'm open to hear that.

 

I'm hoping pretty fast answers from the community,

Have a good day !

Bye.

 

Re: Issue when opening another axAppMgr (C# Teststand API)

$
0
0

I'm joining here the error popup: Cannot create TestStand Engine

There is an existing Engine in memory that has shut down but has not yet cleaned up its resources. If you just exited a TestStand application running in LabVIEW, wait a few seconds before restarting the application. 

Re: VI's in TestStand User Interface memory - Conflict with Code modules

$
0
0

J C Andersen, 

 

Update: I have reproduced the problem in house and at this time it looks a LV bug. I am working with the LV R&D to resolve this issue. The only workaround I know of at this time is to rename the VI in the User Interface. 

 

I will post an update once I have more information. 

 

Regards, 

Anand Jain

National Instruments

Re: How To Display Last Result Of A Sub Sequence And In The Calling Sequence

$
0
0

Hi Michal,

 

Sorry for the very late response. Had unrelated issues that prevented me from moving further. Just want to let you know that this works. 

 

Much appreciated!

TestStand Title bar - Mouse click in edge hits the window behind it.

$
0
0

Have any of have this issue?  When try to close the TestStand by hitting 'X' button in the edge it actually closes the window behind.  And I realized there is a line of edge somewhere in the title bar which is transparent and passes mouse event to window behind. I very often close the other window behind due to this... 

 

Teststand Short Title bar issue2.gif

 

-Thanks AJ

ActiveX Automation Error -2147023706

$
0
0

Hi,

Im running Teststand 2010 SP1 on Windows XP. I'm using a custom process model to print out the report. However I get an intermittent error related to ActiveX Automation. Error pop up attached. Is this an issue with Teststand or ActiveX.

 

Any help greatly appreciated.

 

 

 


Veristand 2012 Custom Device Engine Simulation toolkit

$
0
0

Hi,

I am looking for Veristand 2012 Custom Device Engine Simulation toolkit in LabView. The support team has discontinued with this package. I was wondering if someone can provide me this.

Thanks,

Arnav

TestStand LabVIEW adapter bug? The timestamp format (Error -17300)

$
0
0

Hi,

I just wanted to inform you about probable bug in LabVIEW adapter which is related to timestamps.

If we have a VI with timestamp input and we call it from TestStand we might see the error (see below) if our input is an empty string.

 

----------------------------------------
Details:

Parameter 'time in':
The Timestamp value specified does not have the expected format: mm/dd/yyyy hh:mm:ss.sss AM/PM
----------------------------------------
Error Code:

-17300; Value invalid or out of range.
----------------------------------------
Location:

Step 'Action' of sequence 'MainSequence' in 'TimeTest.seq'
----------------------------------------

But it appears ONLY if I use LabVIEW runtime engine.

 

See the attachment (set RTE in the adapter settings).

 

May I ask someone from NI to confirm the bug and report a CAR?

Re: TestStand API: Double Click to Call Sequence in User Interface

$
0
0

I did it, using DblClick Callback of SequenceView object.

DblClick SeqView Callback.png

Sample rate - Multichannel maximum (aggregate)

$
0
0

Bonjour,
c quoi le Sample rate - Multichannel maximum (aggregate) ?
Merci

Does specifying default module for a custom step tightly binds the VI path in Steps.TS.SData?

$
0
0

I have a scenario where the existing custom step with default module configured and needs an update. 

Ajayvignesh_MV_0-1593108790095.png

 

There were old test sequences which used this custom steps. 

However, when I updated the path of this custom step under default module, I get the error in old test sequences that Step.TS.SData.ViCall.VIPath refers to old path and hence the file not found.

Ajayvignesh_MV_1-1593109180307.png

 

I have also updated the old sequence with latest INI file and latest custom step version, which I can confirm in the Types window.

Ajayvignesh_MV_0-1593109730920.png

 

Thanks,

AJ

NI-DCPower error message about IVI Configuration Server C API

$
0
0

When I try to use NI-DCPower to control a PXIe-4139 SMU in my PXIe chassis, I get an error message on the Soft Front Test Panel that says:

 

"ModularInstruments.NIDCPower: Error description not found

IVI Configuration Server C CPI: The 32-bit and 64-bit registry key values for the master configuration store are not the same."

 

I am a HW engineer, not SW, so does anybody have a clue how to fix this?

 

-David

API to set SequenceFile password

$
0
0

Hello,

 

I am trying to set password for sequence files during deployment in automated way.

Engine engine = new Engine();
SequenceFile seq = engine.GetSequenceFileEx(seqPath);
seq.??

 

pawhan11_0-1593167128804.png

 

I ve tried to find some documentation but no success so far.

 


Reading Network Variable value in Teststand sequence

$
0
0

Hello Community,

 

I am new to using Teststand and am looking for a way to read the Network variable value that i have created and published through labview. I can see my CVI code alter the NV values in the NI Distributed systems but I need to read the NV values through a teststand sequence. 

 

Can someone point me to some resources to do this.

 

Thank you,

 

Kaizen

Re: API to set SequenceFile password

Re: API to set SequenceFile password

$
0
0

Thanks, exactly what I was looking for.

the meaning of the definition of item in the board.ini. and How to bind the teststand configuration.

$
0
0

I have a DEMO of board.ini  which is shown as an attached file.  I don't understand the meaning of the definition of item in the board.ini.  and How to bind the teststand configuration.

How to configure the StationGlobals.ini, How to bind the each definitions in the StationGlobals.ini to Teststand. What is the meaning of the each def

$
0
0

How to configure the StationGlobals.ini, How to bind the each definitions in the StationGlobals.ini to Teststand.  What is the meaning of the each definitions in the StationGlobals.ini,

Viewing all 24435 articles
Browse latest View live


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