PyJEM.TEM3.__nitro

Created on Wed Apr 9 13:28:50 2025

@author: dmaekawa

class PyJEM.TEM3.__nitro.Nitrogen3(*args, **kw)

Bases: _DummyTEM3Accessor

ExecRefill(pos, state)

Start/Stop manual supply of liquid nitrogen.

Parameters:
  • pos (int) –

    Tank position.

    index

    Description

    1

    Stage ACD tank

    2

    Transfer ACD tank

  • state (int) –

    Control state.

    index

    Description

    0

    Stop

    1

    Start

Return type:

None

Note

This function work on Cryo ARM

Example

>>> TEM3.Nitrogen3().ExecRefill(1,1)
GetCurrentScenarioStatus()

Get the transport status.

Returns:

status. 0= Stop, 1= Execute.

Return type:

int

Note

This function work on Cryo ARM

Example

>>> TEM3.Nitrogen3().GetCurrentScenarioStatus()
0
GetLiquidLevel(target)

Get the liquid level of liquid nitrogen.

Parameters:

target (int) –

Tank position.

index

Description

1

Stage ACD tank

2

Transfer ACD tank

Returns:

(level, time) tuple.

  • level (int): Liquid level (%)

  • time (int): Remaining time (min)

Return type:

list

Note

This function work on Cryo ARM

Example

>>> TEM3.Nitrogen3().GetLiquidLevel(1)
GetMagazineExistStatus()

Get the existence of a magazine.

Returns:

Magazine status.

index

Description

1

Exist in magazine

2

Not exist in magazine

Return type:

int

Note

This function work on Cryo ARM

Example

>>> TEM3.Nitrogen3().GetMagazineExistStatus()
1
GetRefillStatus(pos)

Obtain whether liquid nitrogen is being supplied.

Parameters:

pos (int) –

Tank position.

index

Description

1

Stage ACD tank

2

Transfer ACD tank

Returns:

Tank refill state.

index

Description

0

Not refilling

1

Refilling

Return type:

int

Note

This function work on Cryo ARM

Example

>>> TEM3.Nitrogen3().GetRefillStatus(0)
1
GetSampleInformation(index)

Get sample information.

Parameters:

index (int) – Cartridge number.

Returns:

(id, station, port, angle, type, name) tuple.

  • id (int): Sample ID

  • station (int): Sample station.

    index

    Description

    1

    Magazine

    2

    Storage

    3

    Stage

  • port (int): Slot number

  • angle (int): Sample angle value.

    index

    Description

    0

    Unknown

    1

    0 (deg)

    2

    90 (deg)

    3

    Common cartridge

  • type (int): Cartridge type.

    index

    Description

    0

    Unknown

    1

    Common cartridge

    2

    Rotation cartridge

  • name (str): Sample name

Return type:

list

Note

This function work on Cryo ARM

Example

>>> TEM3.Nitrogen3().GetSampleInformation(1)
[0, 1, 1, 1, 1, 'Sample']
TransferCartridge(sample, pos, angle)

Transport the sample specified by id to the specified station.

Parameters:
  • sample (int) – id. obtained by GetSampleInfomation()

  • pos (int) – position. 1= magazine, 2= storage, 3= stage

  • angle (int) – sample angle value. 0= Unknown, 1= 0(deg), 2= 90(deg), 3= common cartridge.

Return type:

None

Note

This function work on Cryo ARM

Example

>>> TEM3.Nitrogen3().TransferCartridge(1, 1, 1)