+1
Fixed

iqan script 4.07 & 5.0 execute argument

Brendon 7 years ago in IQANscript updated 6 years ago 4

I am trying to call a cmd file with a variable as an argument from IQAN Script 4.07.4.3814 and 5.04.4.4385.

Rather than the value of the variable, I get the text written in the argument i.e. %VariableName%

I am just doing a test the file is very basic.

Image 1611

On the script page I set the job number text field, the run command continues the script, then the variable gets set, and then process.cmd gets called.

Everything except the argument is working properly.

Is this a bug?

+1
Completed

Generic "Get All Logs" Action in IQANScript

JamesV 8 years ago in IQANscript updated by Gustav Widén (System support) 4 years ago 7

Hi,

Is it possible when using a script to login and get logs, to just get all logs without having to pick them from the application? I'd like to make 1 generic script that logs in with the Root access and gets all logs for a long list of projects that have differently named logs and different arrangements. 

thanks,

+1

Report filename depending of the machine ID

Laura 8 years ago in IQANscript updated by Gustav Widén (System support) 8 years ago 1

Hello,

Is it possible to program the report filename in a script report so that the machine ID is placed in the report filename with a piece of text in the windows explorer.

Now all filenames of the different machines are the same.

They are placed in several folders with the machine ID, but it is not a unique name.

Kind regards,

Laura


Image 1100

+1

IQANscript 4.00 released

Gustav Widén (System support) 10 years ago in IQANscript updated 10 years ago 0

Highlighted features

Improved layout of script pages

The new grid component allows you to place controls in columns also, not only rows as before.


Image 260


New script control - Gauge

Added an analog gauge, to make values on script pages more visual.


Image 261


Script debugging

Support for breakpoints, pause and step when running a script from IQANscript. Also shows value and status of script actions in IQANscript as they execute in IQANrun. To add a breakpoint, click to the left of the script action.


Image 262


Call external software

Added Execute Program script action. It is possible to pass arguments to the other program, and decide whether the script will wait for the program to exit before continuing.


Image 263



For more details, see release notes.

0
Answered

How to get the MEM with Store Value via IqanScript

Simone Delfitto 3 weeks ago in IQANscript updated by Gustav Widén (System support) 2 weeks ago 1

Hello,

Is it possible to get the value from a MEM channel with Store value = yes via Iqanscript?

We need to read this value for the porting between MD4 to MD5.

Thank you in advance

0

IQAN Script to execute only if IQANconnect is online

Jean-Philippe Parent 2 years ago in IQANscript 0

I have a script that loads an ini file with an iqanconnect key generated from a separate Python script containing the list of all units in the field to connect periodically to every unit for fault monitoring and preventive maintenance monitoring. The script loads the file and attempt to connect. If the unit is online, everything is fine but if the unit is offline, I have to wait the entire timeout to go to the next machine. Is there a way to access the data shown in the IQAN Connect page BEFORE attempting to connect? The info is available in the IQANrun Connect window but can I access it in my script? Or ping the server with an iqankey to get the state (Online or Offline) before attempting to connect?

0

variables used to name files

Nathan Depcik 2 years ago in IQANscript updated 2 years ago 2

could IQANscript support using variables to name files for "script report" and "save variables". I have tried surrounding the variable with percentage signs and it treats it as a character. 


this can be useful for users to rename the files to unique names such as the Machine ID and be able to store it without needing to rename it after.

0

IQANScript to connect using IQANconnect key instead of machineID?

Jean-Philippe Parent 2 years ago in IQANscript 0

On the production line, the IQANconnectkey is written down by the operator in our system at the same time as the machine ID is set manually in the truck. Depending on the operator, the machine ID set in the truck might be different than the machine ID in our internal documentation. 

IQANscript uses the machine ID instead of the IQANconnect key. Is there a server somewhere accessible to correlate the IQANconnectkey and the machineID set in the machine?

0

IQANScript to connect without human intervention

Jean-Philippe Parent 2 years ago in IQANscript updated by Gustav Widén (System support) 2 years ago 2

I'm trying to run an IQANScript from the command line. The goal is to probe every truck in our field once in a while, eventually to be used to schedule software update during the night, when the truck is not operational. The script has to be running on its own without human intervention, but everytime I'm trying to connect using IQANconnect, it pops a message for the user to enter the credentials. The only property in the CONNECT action from script is the machine ID, and the action to LOGIN is not working either in from or after. Is there a way to prevent the pop-up and connect automatically? 

Image 3998

0

log csv export timestamp

Ville Laine 2 years ago in IQANscript updated 2 years ago 2

I seen different kinds of timestamps in CSV log files retrieved from the MD4-7

We use the retrieved csv log file as an input data to our reporting application and have had problems when try to import the csv file because the timestamp is in another format

1. Have the timestamp changed between the program versions

2. What is affecting the timestamp(language?) and can it be forced to certain type?