Return to KLUBNL.PL main page

rsgb_lf_group
[Top] [All Lists]

Re: LF: SL FTP upload

To: [email protected]
Subject: Re: LF: SL FTP upload
From: N1BUG <[email protected]>
Date: Wed, 7 Nov 2018 05:50:23 -0500
Autocrypt: addr=[email protected]; prefer-encrypt=mutual; keydata= xsFNBFqj1+0BEACggWlaH8oG/AiXSUG3CeQwZ1NrVEP4U7YsA9N9XEffjCDEsnTjHF2BJSgS 2AicyomkmTGvghEHxrNFfFw07jwgJl97ae/VtNxpERPSE98mb4sPOMpJbwddioMazMDXwhKA wpg5fse+Ru8OrIT04KK919xL/pZuAP6pY6d2kVoizjJOfS71pHpiU6N6q3d9cl+w7d2LKhAE a3A1ZgDquPvn0WQlrN8K5D66xVrwTRhf1b5H4Ozl8/mMJzCeLG1ZIsDB3Pu2flwE81P8dCJA y1azwgY8pTEshVk4em/se9uRiZaDJr/qUSCf6hrV7AGa8g1jpAQDmdGpDNYMqyDqXen4jNi1 8kNFVu1BMl2vjaI8skw/YPxIxlk/0ROHYhN6SuoDq1mt4AW4FryNa7k3A8dM8Bt7udBoTv0i uw4j9R/bmh2vl/QaHRUhDco0xn2z6geWvXkKqha++vzXDrEKUuqgB85SDZPs5W/phs9p0pz1 xA61d1gn8FQJtpou5dQuAucqMo8eKQY5LUcbC+MH5pebH+M2wIuDCBmFPJHQDSPNepeaxJ4o G/HU1hrpzlgLiTTSKR8DcwtMQwYywnCTlm8MgL4jXuPzoGyKDMYyKIjC51G+3AAOJ6oXJAGR g0ehhCPtmnCGBaRlUIoUSpbgc4B+onqFKZmDiVm9CRNJhKIWrQARAQABzRZOMUJVRyA8cGF1 bEBuMWJ1Zy5jb20+wsF9BBMBCAAnBQJao9ftAhsjBQkJZgGABQsJCAcCBhUICQoLAgQWAgMB Ah4BAheAAAoJECRS/J8srRGjPBsQAIh+Haz9gqrQJ0OlMI5xmQ0A5nsVWcatWF/Ea4mucNjL 4n4jmW+Z4Ukn3OVss55chWwrOVMRNWU2d2zRc92ZF7yJhL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zKwzNIPm9V/LA67u/rj4a/MlCE0 mpd6IHaePE1vXDaboPZHZdhAziru5/Jd7KQI0k+HmM/HRANPRNDZ4UeBpgj9PzS6hDN5GHlZ fRUbI8JAg9wSaQtEn0bjyaR7lw0yngZTvvjT1Qqt5zGwm1IAall2STes5xK0aS7p+UJJMVbf ydZ5VOnocvUkwYxbiqoyuVtGxi4tpWW9CRstYXMkAwARAQABwsFlBBgBCAAPBQJao9ftAhsM BQkJZgGAAAoJECRS/J8srRGjTDMP/18q7uhac/naxoFsOqhgXIlvaPgu6GX7s/QOh+bcSV1F y50lxo51P/C95H2TVME/CtCjk2xWQcNjWtXloMEsZpl7T3qWgJHvyZYkDtgh3M6UNY+zb08U K9E2+rR0AZ6zdMKio7Z1xA9BtbUpSZpvy2NgjoYVqo35NllUWMZJq0u+88PvE5WeCIqLipNI EZmUcG9UwolQbPkrRc42ReL+bFbuXGXDA5GbQ0RudXbugI8iUwaw3ftaKElIZtuHW0hw1VrU 9tVHsxKyEoKgNNT1hr+dgRmvCHmA87Pi4R5cMV0ZkLVOYfPX1motedag7HmSNPi2PkYLts4z kyvPEJe2IvaPvjvK1ShRWWgje3uytrhfwyjUZcIuA76RWEfBbwT2Mbrn9O7LvrYtbTiTlsLo Zdk2uocuefBvPd2oI7mTn5eLy/VDy2JVnlb9vpZZhriXI4KtCcP6mYyuPxlxqj/30Kn1fU5b C4EpnKy6hW1CHM42DbwzT+ChjBpFbX9bfwT4qn6d42+T4mN5wkmfnBRHfcn8Wf1ezRSK3Ome Esa3ZDssj23CZHe11uec6Ln14qoB7JyRT9qM3Q99tzvAlmWFM3GrSsG94g4JponQjQWHmr8B eMYezwJHzSI7zWElJpzs/OuohstTYfYTy16FygUOEinc1K4ywjEklgRpXRtjKvqc
In-reply-to: <[email protected]>
Openpgp: preference=signencrypt
References: <[email protected]> <[email protected]>
Reply-to: [email protected]
Sender: [email protected]
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
Hello Wolf,

Thanks for the reply. I am a novice, but I really like Spectrum Lab!

Sometimes (often) I get lost reading the help. It is very well
written but there is so much capability I don't always follow
exactly how to do something simple.

I tried the simple solution suggested by Markus and it is working
very well. The first instance of SpecLab just captures lf1.jpg. It
does not try to do anything with ftp. The second instance of SpecLab
captures lf2.jpg, then calls ftp_up, passing the lf2.jpg parameter.
I modified ftp_up so that it uploads both files in one ftp session;
first lf2.jpg (%1 parameter), then lf1.jpg. As long as I remember
what I did, I think this is a good solution for me. :)

Now I have to learn more to see about other features of the software!

73,
Paul


On 11/6/18 2:13 PM, Wolfgang Büscher wrote:
> Hello Paul,
> 
> You could use the "conditional actions" to invoke the batchfile, and 
> only set a flag (variable) in the "periodic actions". The "conditional 
> actions" are quite versatile (you have timers there, etc etc) but 
> compared to a real scripting language, a bit tedious to configure.
> 
> Details at
>     www.qsl.net/dl4yhf/speclab/perisced.htm#cond_actions
> 
> A timer can be started anywhere (also in the "periodic actions"), and 
> the "conditional actions" can be used to do whatever you like when the 
> timer expires. There are twenty different timers that may run at the 
> same time, so you could use one timer to wait a few seconds before 
> uploading lf1.jpg, and some other time before uploading lf2.jpg.
> 
> The timers are explained in the same document linked above, in the 
> chapter about the conditional actions.
> 
> All the best,
>    Wolf DL4YHF .
> 
> 
> On 06.11.2018 11:58, N1BUG wrote:
>> Hi LF,
>>
>> I am trying to set up two SpecLab instances as grabbers to monitor
>> the EU and NA LF QRSS windows, but I am having some problems with
>> FTP upload.
>>
>> Either SpecLab instance works fine by itself, calling ftp_up.bat
>> with either lf1.jpg or lf2.jpg parameter. But when I run two
>> instances, one using lf1.jpg, the other using lf2.jpg there are
>> problems related to both trying to run ftp_up.bat at the same time.
>> This creates random behavior, many FTP errors and usually only one
>> file makes it to the FTP server.
>>
>> I would like to have both SpecLab instances upload every 10 or 15
>> minutes but I am not sure how to get around this problem. I could
>> rewrite ftp_up. bat to hard code the two file names and upload both
>> in one operation. This solves the log out of FTP server but not able
>> to log back in quickly enough. But it doesn't solve the problem of
>> both SpecLab instances trying to call ftp_up.bat at the same time. I
>> thought about having just one SpecLab instance calling ftp_up.bat
>> but I think this doesn't guarantee the other instance has yet
>> created the .jpg file to upload.
>>
>> Any ideas how to do this properly? Is there any way to insert a
>> delay of some seconds in the SpecLab periodic actions? Such as...
>>
>> capture lf2.jpg
>> wait for some seconds
>> call ftp_up bat
>>
>> ??
>>
>> I will have some other questions about optimizing SpecLab parameters
>> for performance later. :)
>>
>> 73,
>> Paul

<Prev in Thread] Current Thread [Next in Thread>