Project

General

Profile

Image transfer from leginon client to leginon

Added by Anonymous almost 15 years ago

Hi all!

I am using the following setup:

On a linux host, I start start-leginon.py and connect to the Windows instrument control PC that is running launcher.py...I execute the Manual application.

Everything works as expected (which is great!), I can acquire images and the meta information is saved into the database with the correct Linux path.
The problem is that the image data are never actually written into this path (in this case /img-storage)

The saving of images works if I use the simulation camera directly on the Linux host, without having connected to a client...so the configuration of the path is correct and the path writable.

Any ideas why the image data is not transferred properly in the client/server setup?

Cheers
Matthias Brunner

I am using a leginon SVN checkout from 2009-11-20.


Replies (3)

Re: Image transfer from leginon client to leginon - Added by Anchi Cheng almost 15 years ago

When you run Manual application across from linux to pc, where do the Leginon nodes come up? If you have it correctly,
"Manual", "Correction" are on your linux box, and "Instrument" on Windows at the microscope. If so, did you see the
acquired image displayed inside Leginon gui Image Viewer?

My best guess of your symptom is that you have assigned all nodes to the Windows PC and the Windows. The images
were acquired but the drive mapping and your Samba server was not working right so that instead of saving the data through the network, Windows OS just create a folder in its C drive in the folder names you gave.

See this documentation page about drive mapping:
http://ami/documentation/leginon/bk02ch04s09.php

and this thread
viewtopic.php?f=2&t=285

Re: Image transfer from leginon client to leginon - Added by Anonymous almost 15 years ago

Anchi,

thanks for your help! Indeed, I had launched all nodes on the linux host. Now I moved the instrument node to the microscope computer and it works. Drive mapping is not necessary this way...

This node concept is hard to grasp in the beginning - but at least my beginner's mistakes will be documented here.

-Matthias

Re: Image transfer from leginon client to leginon - Added by Anchi Cheng almost 15 years ago

Matthis,

For you and other new comers, here is the paragraph from
http://ami/documentation/leginon/bk03ch05s02.php

Leginon/Main menu/Application> select "Run...." and choose the application named "Manual", select the microscope hostname for "scope" and the local computer as "main", and then launch the application

You will do something similar to this for every application you run off the microscope.

Let me explain a bit here. Leginon is a distributed system. The nodes can be put on more than one computer to work collectively. There are restriction, of course, on where the node is to function properly. "Instrument" node interacts with the microscope and camera in all applications we distribute. Therefore, it has to be assigned to a host that has direct access to these. The rest of the nodes can be on any computer with access to the file server. In addition, you can have a different computer hosting a particularly time consuming thread from a node that does not block the operation of the other nodes. An example is the "Start Tomo Processing" node in "MSI-Tomography" application, which at the moment just print out the filename of the images it received as an example.

Anchi

    (1-3/3)