PowerView 2.0 Scripting Programmers Guide

This forum contains common answers to questions and tutorials produced for the community.
dberezowski
Posts: 65
Joined: Wed Sep 08, 2010 4:03 pm

PowerView 2.0 Scripting Programmers Guide

Post by dberezowski » Tue Sep 14, 2010 4:38 pm

Page 60 of the "PowerView - Model PV750 Software Connfigurator Version 2.0" reference manual refers to the "PowerView 2.0 Scripting Programmers Guide". Is this guide available?
jpurdum
Enovation Controls Development
Enovation Controls Development
Posts: 153
Joined: Mon Jun 21, 2010 11:19 am

Re: PowerView 2.0 Scripting Programmers Guide

Post by jpurdum » Wed Sep 15, 2010 12:34 pm

David - we just need to do a little cleanup on that doc in that a couple things were added in 2.1 and they we evidently didn't get that doc updated. Will post it shortly.

john p.
jpurdum
Enovation Controls Development
Enovation Controls Development
Posts: 153
Joined: Mon Jun 21, 2010 11:19 am

Re: PowerView 2.0 Scripting Programmers Guide

Post by jpurdum » Thu Sep 16, 2010 8:36 am

I have posted the 2.1 Scripting Guide at the following post

2.1 Scripting Users Guide
viewtopic.php?f=5&t=37

This is specifically for 2.1; however, it should work well for 2.0 as well.

The following functions were added in 2.1 and are not available in 2.0:
Write with timeout:
smWrite(uint handle, double value, uint timeoutMs)

added success and fail events:
mountUSB(int successEvent, int failEvent)
copyToUSB(string filename, int successEvent, int failEvent)
copyFromUSB(string filename, int successEvent, int failEvent)

added unmount function:
unmountUSB(int doneEvent)