To enable third-party systems to easily retrieve the results of calculations of Rx-Universe jobs, a "file" device is supported.
When active, Rx-Universe will create a file for each order, each time an order is entered, received, or calculations are done for the job. The file will be created in a subfolder "DEVFILE" under the root Rx-Universe folder. For example, if Rx-Universe is installed in C:\Rx-Universe, then the VCA device output files will be created in C:\Rx-Universe\DEVFILES
There are two steps to activate this feature in Rx-Universe. First, on the Device tab under System Parameters, the option "Create device file" must be checked:
Then a device session must be set up for the file interface, similar to the following:
The file device interface has all the options available in any VCA interface.
An LDI file is used to determine what labels should be included in the output file, as is used with the Rx-Server interface and interfaces with digital calculators. To modify the labels included in the output file, click the "View/Edit LDI file" button.
If the LDI file does not already exist, you will be prompted to create it:
If the file already exists, you will be able to modify the contents:
Any VCA label may be included in the LDI file, and such data will be included in the VCA output files. Note that for trace data, only format 1 TRCFMT data is supported in a file.
Sample:
File DEVFILE\12340008.VCA, using the LDI file above, would be created as follows:
REQ=LDS
JOB=12340008
DO=B
LNAM=SINGLE VISION;SINGLE VISION
SPH=+02.00;+02.50
CYL=-01.00;-01.25
AX=115;085
PRVA=000;000
PRVM=+00.00;+00.00
DBL=16.0
IPD=31.00;31.00
OCHT=22.05;22.05
SEGHT=0;0
BLKD=58.00;58.00
RNGH=07.00;07.00
FCSGUP=+00.0;+00.0
FCSGIN=+04.8;+04.8
ADD=0.00;0.00
FBOCIN=+04.80;+04.80
FBOCUP=+00.00;+00.00
LMATTYPE=2;2
HBOX=55.6;55.7
VBOX=44.1;44.0
FED=56.5;56.4
ELLH=65.0;65.0
DIA=70.0;70.0
LIND=1.586;1.586
TIND=1.530;1.530
FRNT=+06.34;+06.34
BACK=-06.25;-06.25
BCTHK=07.6;07.6
MBASE=06.25;06.25
MINCTR=+01.50;+01.50
MINEDG=+01.30;+01.23
PANTO=?;?
ZTILT=+11.20;+11.20
BVD=?;?
MINTHKCD=00.00;00.00
GBASEX=-04.62;-04.16
GCROSX=-05.52;-05.29
LMATID=1;1
LTYP=SV;SV
PTOK=0
AVAL=+09.51;+09.51
SVAL=+04.88;+04.81
GAX=115;085
GBASE=-04.62;-04.16
GCROS=-05.52;-05.29
SBBCIN=+00.00;+00.00
SBBCUP=+00.00;+00.00
SDEPTH=+00.00;+00.00
THKA=?;?
THKP=02.54;02.44
THNA=?;?
THNP=01.30;01.20
LDPATH=?
GTHK=+03.10;+03.00
KPRVA=342;185
KPRVM=00.00;00.00
TRCFMT=1;100;E;R;D
R=2692;2733;2781;2827;2867;2899;2916;2915;2890;2848;2794;2730
R=2660;2590;2525;2464;2409;2362;2321;2289;2262;2239;2222;2213
R=2206;2203;2207;2221;2241;2265;2292;2330;2374;2429;2487;2555
R=2629;2705;2782;2857;2923;2962;2979;2977;2957;2922;2877;2831
R=2793;2757;2729;2709;2693;2686;2683;2684;2693;2707;2721;2734
R=2739;2733;2713;2674;2625;2568;2505;2450;2398;2352;2311;2276
R=2249;2227;2213;2201;2193;2197;2204;2216;2235;2256;2281;2308
R=2334;2362;2388;2411;2437;2455;2475;2492;2504;2514;2526;2543
R=2563;2588;2618;2653
TRCFMT=1;100;E;L;D
R=2724;2753;2790;2830;2873;2919;2955;2975;2979;2963;2919;2858
R=2787;2712;2637;2561;2496;2439;2383;2338;2298;2265;2239;2217
R=2203;2193;2189;2190;2197;2212;2232;2260;2294;2335;2385;2442
R=2503;2569;2641;2715;2785;2841;2886;2911;2918;2903;2871;2829
R=2786;2743;2703;2668;2634;2604;2580;2563;2549;2536;2524;2510
R=2495;2477;2457;2434;2409;2383;2355;2329;2301;2274;2250;2229
R=2213;2202;2195;2197;2203;2217;2237;2263;2296;2337;2386;2434
R=2491;2553;2615;2665;2700;2722;2732;2729;2714;2698;2687;2679
R=2675;2675;2684;2700